Skip to content
Snippets Groups Projects
Commit edef9195 authored by David Gow's avatar David Gow Committed by Clark Wang
Browse files

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: 9ad9a52c ("i3c/master: introduce the mipi-i3c-hci driver")
Signed-off-by: default avatarDavid Gow <davidgow@google.com>
Acked-by: default avatarNicolas Pitre <npitre@baylibre.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20210127040636.1535722-1-davidgow@google.com
(cherry picked from commit 9d909f1b)
parent 0d0189d5
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment