Skip to content

Commit 7fbcc53

Browse files
bjh83pH5
authored andcommitted
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 <[email protected]> Signed-off-by: Philipp Zabel <[email protected]>
1 parent 7148353 commit 7fbcc53

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/reset/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ config RESET_BRCMSTB
5151

5252
config RESET_BRCMSTB_RESCAL
5353
bool "Broadcom STB RESCAL reset controller"
54+
depends on HAS_IOMEM
5455
default ARCH_BRCMSTB || COMPILE_TEST
5556
help
5657
This enables the RESCAL reset controller for SATA, PCIe0, or PCIe1 on

0 commit comments

Comments
 (0)