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

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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