linux/drivers/i3c/master
David Gow 9d909f1b1e 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: 9ad9a52cce ("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
2021-02-01 23:39:17 +01:00
..
mipi-i3c-hci i3c/master/mipi-i3c-hci: quiet maybe-unused variable warning 2020-12-17 10:31:30 +01:00
dw-i3c-master.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
i3c-master-cdns.c i3c: master: Fix error return in cdns_i3c_master_probe() 2020-10-07 15:14:07 +02:00
Kconfig i3c/master/mipi-i3c-hci: Specify HAS_IOMEM dependency 2021-02-01 23:39:17 +01:00
Makefile i3c/master: introduce the mipi-i3c-hci driver 2020-11-23 10:22:18 +01:00