]> Git Repo - linux.git/commitdiff
bus: qcom-ebi2: depend on HAS_IOMEM
authorLinus Walleij <[email protected]>
Sun, 2 Oct 2016 21:53:59 +0000 (23:53 +0200)
committerOlof Johansson <[email protected]>
Mon, 3 Oct 2016 05:23:57 +0000 (22:23 -0700)
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]>
drivers/bus/Kconfig

index 5a2d47c715259ed216ef7a87f8e1061bb24f5109..7010dcac93288aa1984ea9d7d232bdd163e4d37a 100644 (file)
@@ -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,
This page took 0.057598 seconds and 4 git commands to generate.