linux/drivers/slimbus
Srinivas Kandagatla fc6b1f3d60 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>
2018-01-09 17:01:15 +01:00
..
core.c
Kconfig slimbus: qcom: add HAS_IOMEM dependency 2018-01-09 17:01:15 +01:00
Makefile slimbus: qcom: Add Qualcomm Slimbus controller driver 2017-12-19 11:01:03 +01:00
messaging.c slimbus: Fix missing unlock on error in slim_msg_response() 2018-01-09 17:00:13 +01:00
qcom-ctrl.c slimbus: qcom: Fix return value check in qcom_slim_probe() 2018-01-09 17:00:13 +01:00
sched.c
slimbus.h