projects/linux·commit d6db68b2

bus: qcom-ebi2: depend on HAS_IOMEM

d6db68b2 · Linus Walleij <[email protected]> · 2016-10-02 23:53:59 +02:00

After being asked to not depend on ARCH_QCOM* or similar,
unsurprisingly compilation fails on UM as it has no I/O
memory:

drivers/built-in.o: In function `qcom_ebi2_probe':
>> drivers/bus/qcom-ebi2.c:333: undefined reference to
   `devm_ioremap_resource'

Fix this by letting the Kconfig atleast depend on HAS_IOMEM.

Reported-by: kbuild test robot <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Andy Gross <[email protected]>
Cc: [email protected]
Signed-off-by: Linus Walleij <[email protected]>
Signed-off-by: Olof Johansson <[email protected]>
Commit
d6db68b2deaa0158d25b236edffcf6dd2117208f
Parents
ea19b4cd

Changes

1 files changed · +1 −0

FileStatusAddDelContent
drivers/bus/Kconfigmodified+1−0View file

drivers/bus/Kconfig

View file
diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig
index 5a2d47c..7010dca 100644
--- a/drivers/bus/Kconfig
+++ b/drivers/bus/Kconfig
@@ -110,6 +110,7 @@ config OMAP_OCP2SCP
config QCOM_EBI2
bool "Qualcomm External Bus Interface 2 (EBI2)"
+ depends on HAS_IOMEM
help
Say y here to enable support for the Qualcomm External Bus
Interface 2, which can be used to connect things like NAND Flash,