From: Ricardo Ribalda Date: Fri, 29 Nov 2024 18:29:44 +0000 (+0000) Subject: misc: Kconfig: Make MCHP_LAN966X_PCI depend on OF_OVERLAY X-Git-Tag: v6.14-rc1~67^2~33 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2d390e063464f91cb071dfa5495868ba6b120d8a;p=thirdparty%2Fkernel%2Flinux.git 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 Link: https://lore.kernel.org/r/20241129-lan966x-depend-v2-1-72bb9397f421@chromium.org Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index fb772bfe27c3e..56bc72c7ce4a9 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig @@ -612,8 +612,7 @@ config MARVELL_CN10K_DPI config MCHP_LAN966X_PCI tristate "Microchip LAN966x PCIe Support" depends on PCI - select OF - select OF_OVERLAY + depends on OF_OVERLAY select IRQ_DOMAIN help This enables the support for the LAN966x PCIe device.