Skip to content

Commit eba0ded

Browse files
hcodinapH5
authored andcommitted
reset: mchp: sparx5: Add MCHP_LAN966X_PCI dependency
The sparx5 reset controller depends on the SPARX5 architecture or the LAN966x SoC. This reset controller can be used by the LAN966x PCI device and so it needs to be available when the LAN966x PCI device is enabled. Signed-off-by: Herve Codina <[email protected]> Reviewed-by: Steen Hegelund <[email protected]> Reviewed-by: Philipp Zabel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Philipp Zabel <[email protected]>
1 parent 0426a92 commit eba0ded

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
@@ -147,7 +147,7 @@ config RESET_LPC18XX
147147

148148
config RESET_MCHP_SPARX5
149149
bool "Microchip Sparx5 reset driver"
150-
depends on ARCH_SPARX5 || SOC_LAN966 || COMPILE_TEST
150+
depends on ARCH_SPARX5 || SOC_LAN966 || MCHP_LAN966X_PCI || COMPILE_TEST
151151
default y if SPARX5_SWITCH
152152
select MFD_SYSCON
153153
help

0 commit comments

Comments
 (0)