summaryrefslogtreecommitdiff
path: root/drivers/reset/Kconfig
diff options
context:
space:
mode:
authorThomas Meyer <thomas@m3y3r.de>2017-09-09 07:02:46 +0300
committerPhilipp Zabel <p.zabel@pengutronix.de>2017-09-18 11:57:48 +0300
commit2d48a237c8b61b457d146310d7e1e61224d0ca56 (patch)
tree6c13efaf37dd0c27d52e3345c474c0d91b2813d3 /drivers/reset/Kconfig
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e (diff)
downloadlinux-2d48a237c8b61b457d146310d7e1e61224d0ca56.tar.xz
ARC: reset: Only build on archs that have IOMEM
This avoids the error: drivers/reset/reset-hsdk-v1.o: In function `hsdkv1_reset_probe': /home/thomas/git/linux/drivers/reset/reset-hsdk-v1.c:101: undefined reference to `devm_ioremap_resource' collect2: error: ld returned 1 exit status Signed-off-by: Thomas Meyer <thomas@m3y3r.de> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/reset/Kconfig')
-rw-r--r--drivers/reset/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index e0c393214264..d063bd5373dd 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -36,6 +36,7 @@ config RESET_BERLIN
config RESET_HSDK_V1
bool "HSDK v1 Reset Driver"
+ depends on HAS_IOMEM
default n
help
This enables the reset controller driver for HSDK v1.