Skip to content

Commit 2d390e0

Browse files
ribaldagregkh
authored andcommitted
misc: Kconfig: Make MCHP_LAN966X_PCI depend on OF_OVERLAY
Drivers should depend on configurations that can be user-configurable instead of selecting them. Without this patch, OF cannot be disabled this way: make allyesconfig scripts/config -d OF make olddefconfig Which is a typical test in CI systems like media-ci. Now that we are at it, remove the dependency on OF, it will come automatically from OF_OVERLAY. Signed-off-by: Ricardo Ribalda <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent a6e2087 commit 2d390e0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/misc/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,8 +612,7 @@ config MARVELL_CN10K_DPI
612612
config MCHP_LAN966X_PCI
613613
tristate "Microchip LAN966x PCIe Support"
614614
depends on PCI
615-
select OF
616-
select OF_OVERLAY
615+
depends on OF_OVERLAY
617616
select IRQ_DOMAIN
618617
help
619618
This enables the support for the LAN966x PCIe device.

0 commit comments

Comments
 (0)