Skip to content

Commit 2571368

Browse files
geertugregkh
authored andcommitted
irqchip/lan966x-oic: Make CONFIG_LAN966X_OIC depend on CONFIG_MCHP_LAN966X_PCI
[ Upstream commit e06c9e3 ] The Microchip LAN966x outband interrupt controller is only present on Microchip LAN966x SoCs, and only used in PCI endpoint mode. Hence add a dependency on MCHP_LAN966X_PCI, to prevent asking the user about this driver when configuring a kernel without Microchip LAN966x PCIe support. Fixes: 3e3a7b3 ("irqchip: Add support for LAN966x OIC") Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Herve Codina <[email protected]> Link: https://lore.kernel.org/all/28e8a605e72ee45e27f0d06b2b71366159a9c782.1737383314.git.geert+renesas@glider.be Signed-off-by: Sasha Levin <[email protected]>
1 parent 0da4b4b commit 2571368

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/irqchip/Kconfig

+1
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ config IXP4XX_IRQ
169169

170170
config LAN966X_OIC
171171
tristate "Microchip LAN966x OIC Support"
172+
depends on MCHP_LAN966X_PCI || COMPILE_TEST
172173
select GENERIC_IRQ_CHIP
173174
select IRQ_DOMAIN
174175
help

0 commit comments

Comments
 (0)