Skip to content

Commit 1435f82

Browse files
geertupH5
authored andcommitted
reset: RESET_MCHP_SPARX5 should depend on ARCH_SPARX5
The Microchip Sparx5 switch reset block is only present on Microchip Sparx5 SoCs. Hence add a dependency on ARCH_SPARX5, to prevent asking the user about this driver when configuring a kernel without Sparx5 support. Fixes: 453ed42 ("reset: mchp: sparx5: add switch reset driver") Signed-off-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/6e08f6f46123d0712397e901716b48f13fa5dc48.1624627657.git.geert@linux-m68k.org Signed-off-by: Philipp Zabel <[email protected]>
1 parent e73f0f0 commit 1435f82

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
@@ -116,7 +116,7 @@ config RESET_LPC18XX
116116

117117
config RESET_MCHP_SPARX5
118118
bool "Microchip Sparx5 reset driver"
119-
depends on HAS_IOMEM || COMPILE_TEST
119+
depends on ARCH_SPARX5 || COMPILE_TEST
120120
default y if SPARX5_SWITCH
121121
select MFD_SYSCON
122122
help

0 commit comments

Comments
 (0)