From: Brendan Higgins Date: Mon, 27 Jan 2020 23:53:54 +0000 (-0800) Subject: reset: intel: add unspecified HAS_IOMEM dependency X-Git-Tag: v5.6-rc5~1^2~10^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b460e0a9e2404450a0cc4c5e6476483d6cda1b26;p=thirdparty%2Fkernel%2Flinux.git reset: intel: add unspecified HAS_IOMEM dependency Currently CONFIG_RESET_INTEL_GW=y implicitly depends on CONFIG_HAS_IOMEM=y; consequently, on architectures without IOMEM we get the following build error: /usr/bin/ld: drivers/reset/reset-intel-gw.o: in function `intel_reset_probe': drivers/reset/reset-intel-gw.c:185: undefined reference to `devm_platform_ioremap_resource' Fix the build error by adding the unspecified dependency. Signed-off-by: Brendan Higgins Signed-off-by: Philipp Zabel --- diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig index a19bd303f31a9..d9efbfd296463 100644 --- a/drivers/reset/Kconfig +++ b/drivers/reset/Kconfig @@ -74,7 +74,7 @@ config RESET_IMX7 config RESET_INTEL_GW bool "Intel Reset Controller Driver" - depends on OF + depends on OF && HAS_IOMEM select REGMAP_MMIO help This enables the reset controller driver for Intel Gateway SoCs.