Commit d6db68b2 authored by Linus Walleij's avatar Linus Walleij Committed by Olof Johansson
Browse files

bus: qcom-ebi2: depend on HAS_IOMEM



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: default avatarkbuild test robot <fengguang.wu@intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Andy Gross <andy.gross@linaro.org>
Cc: linux-arm-msm@vger.kernel.org
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent ea19b4cd
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -110,6 +110,7 @@ config OMAP_OCP2SCP


config QCOM_EBI2
config QCOM_EBI2
	bool "Qualcomm External Bus Interface 2 (EBI2)"
	bool "Qualcomm External Bus Interface 2 (EBI2)"
	depends on HAS_IOMEM
	help
	help
	  Say y here to enable support for the Qualcomm External Bus
	  Say y here to enable support for the Qualcomm External Bus
	  Interface 2, which can be used to connect things like NAND Flash,
	  Interface 2, which can be used to connect things like NAND Flash,