From: Thomas Meyer Date: Sat, 9 Sep 2017 04:02:46 +0000 (+0200) Subject: ARC: reset: Only build on archs that have IOMEM X-Git-Tag: v4.14-rc6~16^2~4^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2d48a237c8b61b457d146310d7e1e61224d0ca56;p=platform%2Fkernel%2Flinux-exynos.git 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 Signed-off-by: Philipp Zabel --- diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig index e0c3932..d063bd5 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.