summaryrefslogtreecommitdiff
path: root/drivers/slimbus/Kconfig
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2018-01-03 12:32:04 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-09 19:01:15 +0300
commitfc6b1f3d60ce65fa8f2074f5712e0627b25c028a (patch)
treefe81e4a11acfcbfb1f6ebd6e0d5b74918a9ca7d5 /drivers/slimbus/Kconfig
parentff595a33485567cc0f192c7f4387d0d3b36a881a (diff)
downloadlinux-fc6b1f3d60ce65fa8f2074f5712e0627b25c028a.tar.xz
slimbus: qcom: add HAS_IOMEM dependency
Below build failure was reported on UML, ERROR: "devm_ioremap_resource" [drivers/slimbus/slim-qcom-ctrl.ko] undefined! ERROR: "__ioread32_copy" [drivers/slimbus/slim-qcom-ctrl.ko] undefined! ERROR: "__iowrite32_copy" [drivers/slimbus/slim-qcom-ctrl.ko] undefined! ERROR: "devm_ioremap" [drivers/slimbus/slim-qcom-ctrl.ko] undefined! This patch fixes it by making qcom slimbus depend on HAS_IOMEM, as these are only defined when HAS_IOMEM is selected. Reported-by: Thomas Meyer <thomas@m3y3r.de> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/slimbus/Kconfig')
-rw-r--r--drivers/slimbus/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/slimbus/Kconfig b/drivers/slimbus/Kconfig
index 78bdd4808282..1a632fad597e 100644
--- a/drivers/slimbus/Kconfig
+++ b/drivers/slimbus/Kconfig
@@ -16,6 +16,7 @@ if SLIMBUS
config SLIM_QCOM_CTRL
tristate "Qualcomm SLIMbus Manager Component"
depends on SLIMBUS
+ depends on HAS_IOMEM
help
Select driver if Qualcomm's SLIMbus Manager Component is
programmed using Linux kernel.