bus: qcom-ebi2: depend on HAS_IOMEM
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 2 Oct 2016 21:53:59 +0000 (23:53 +0200)
committerOlof Johansson <olof@lixom.net>
Mon, 3 Oct 2016 05:23:57 +0000 (22:23 -0700)
commitd6db68b2deaa0158d25b236edffcf6dd2117208f
tree812082bd8eccd4b9925b2eb00b3b0a852e619267
parentea19b4cd61f623a14b86c60ecd5f117f507fb30d
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: kbuild 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: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
drivers/bus/Kconfig