Skip to content

Commit b460e0a

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/reset/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ config RESET_IMX7
7474

7575
config RESET_INTEL_GW
7676
bool "Intel Reset Controller Driver"
77-
depends on OF
77+
depends on OF && HAS_IOMEM
7878
select REGMAP_MMIO
7979
help
8080
This enables the reset controller driver for Intel Gateway SoCs.

0 commit comments

Comments
 (0)