diff options
author | David Gow | 2021-01-26 20:06:37 -0800 |
---|---|---|
committer | Alexandre Belloni | 2021-02-01 23:39:17 +0100 |
commit | 9d909f1b1e91b4aa7d016ed14b7b76dbf2675414 (patch) | |
tree | 4f7c365b3d3e51f8f95f8b125be3caf82014b500 /drivers/memstick | |
parent | 5c8fe583cce542aa0b84adc939ce85293de36e5e (diff) |
i3c/master/mipi-i3c-hci: Specify HAS_IOMEM dependency
The MIPI i3c HCI driver makes use of IOMEM functions like
devm_platform_ioremap_resource(), which are only available if
CONFIG_HAS_IOMEM is defined.
This causes the driver to be enabled under make ARCH=um allyesconfig,
even though it won't build.
By adding a dependency on HAS_IOMEM, the driver will not be enabled on
architectures which don't support it.
Fixes: 9ad9a52cce28 ("i3c/master: introduce the mipi-i3c-hci driver")
Signed-off-by: David Gow <davidgow@google.com>
Acked-by: Nicolas Pitre <npitre@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20210127040636.1535722-1-davidgow@google.com
Diffstat (limited to 'drivers/memstick')
0 files changed, 0 insertions, 0 deletions