Skip to content

Commit 9d909f1

Browse files
sulixalexandrebelloni
authored andcommitted
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: 9ad9a52 ("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
1 parent 5c8fe58 commit 9d909f1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/i3c/master/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ config DW_I3C_MASTER
2525
config MIPI_I3C_HCI
2626
tristate "MIPI I3C Host Controller Interface driver (EXPERIMENTAL)"
2727
depends on I3C
28+
depends on HAS_IOMEM
2829
help
2930
Support for hardware following the MIPI Aliance's I3C Host Controller
3031
Interface specification.

0 commit comments

Comments
 (0)