[lkml]   [2018]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] slimbus: qcom: add HAS_IOMEM dependency
From: Srinivas Kandagatla <>

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 <>
Signed-off-by: Srinivas Kandagatla <>
drivers/slimbus/Kconfig | 1 +
1 file changed, 1 insertion(+)

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
tristate "Qualcomm SLIMbus Manager Component"
depends on SLIMBUS
+ depends on HAS_IOMEM
Select driver if Qualcomm's SLIMbus Manager Component is
programmed using Linux kernel.
 \ /
  Last update: 2018-01-03 10:35    [W:0.022 / U:7.696 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site