summaryrefslogtreecommitdiffstats
path: root/drivers/reset
diff options
context:
space:
mode:
authorBrendan Higgins <brendanhiggins@google.com>2020-01-28 00:53:53 +0100
committerPhilipp Zabel <p.zabel@pengutronix.de>2020-02-10 11:11:55 +0100
commit7fbcc53514c5e410dd598685c5fbbe1e6a5a87e1 (patch)
tree023bf376a0fbd19917a08b3cf1cbef55de214dc1 /drivers/reset
parentMAINTAINERS: fix style in RESET CONTROLLER FRAMEWORK (diff)
downloadlinux-7fbcc53514c5e410dd598685c5fbbe1e6a5a87e1.tar.xz
linux-7fbcc53514c5e410dd598685c5fbbe1e6a5a87e1.zip
reset: brcmstb-rescal: add unspecified HAS_IOMEM dependency
Currently CONFIG_RESET_BRCMSTB_RESCAL=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-brcmstb-rescal.o: in function `brcm_rescal_reset_probe': drivers/reset/reset-brcmstb-rescal.c:76: undefined reference to `devm_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/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index 461b0e506a26..a19bd303f31a 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -51,6 +51,7 @@ config RESET_BRCMSTB
config RESET_BRCMSTB_RESCAL
bool "Broadcom STB RESCAL reset controller"
+ depends on HAS_IOMEM
default ARCH_BRCMSTB || COMPILE_TEST
help
This enables the RESCAL reset controller for SATA, PCIe0, or PCIe1 on