summaryrefslogtreecommitdiffstats
path: root/drivers/reset
diff options
context:
space:
mode:
authorBrendan Higgins <brendanhiggins@google.com>2020-01-27 15:53:54 -0800
committerPhilipp Zabel <p.zabel@pengutronix.de>2020-02-10 11:11:55 +0100
commitb460e0a9e2404450a0cc4c5e6476483d6cda1b26 (patch)
treec167c8fd5452b934ddfefb6e1609458e4722a256 /drivers/reset
parent7fbcc53514c5e410dd598685c5fbbe1e6a5a87e1 (diff)
downloadlinux-b460e0a9e2404450a0cc4c5e6476483d6cda1b26.tar.bz2
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 <brendanhiggins@google.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/reset')
-rw-r--r--drivers/reset/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index a19bd303f31a..d9efbfd29646 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.