Commit 7fbcc535 authored by Brendan Higgins's avatar Brendan Higgins Committed by Philipp Zabel

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: default avatarBrendan Higgins <brendanhiggins@google.com>
Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent 71483532
...@@ -51,6 +51,7 @@ config RESET_BRCMSTB ...@@ -51,6 +51,7 @@ config RESET_BRCMSTB
config RESET_BRCMSTB_RESCAL config RESET_BRCMSTB_RESCAL
bool "Broadcom STB RESCAL reset controller" bool "Broadcom STB RESCAL reset controller"
depends on HAS_IOMEM
default ARCH_BRCMSTB || COMPILE_TEST default ARCH_BRCMSTB || COMPILE_TEST
help help
This enables the RESCAL reset controller for SATA, PCIe0, or PCIe1 on This enables the RESCAL reset controller for SATA, PCIe0, or PCIe1 on
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment