[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241129-lan966x-depend-v1-1-603fc4996c4f@chromium.org>
Date: Fri, 29 Nov 2024 10:41:17 +0000
From: Ricardo Ribalda <ribalda@...omium.org>
To: Herve Codina <herve.codina@...tlin.com>,
Derek Kiernan <derek.kiernan@....com>,
Dragan Cvetic <dragan.cvetic@....com>, Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-kernel@...r.kernel.org, Ricardo Ribalda <ribalda@...omium.org>
Subject: [PATCH] misc: Kconfig: Make MCHP_LAN966X_PCI depend on OF, not
select it
Most (maybe all?) the drivers depend on OF instead of selecting it. This
is more convenient for CI because we can have test scripts that do:
make allyesconfig
scripts/config -d OF
make olddefconfig
Without this patch, OF cannot be disabled that way.
Signed-off-by: Ricardo Ribalda <ribalda@...omium.org>
---
drivers/misc/Kconfig | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 902c306bc972..2ea5f40ff4e4 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
+ depends on PCI && OF
select OF_OVERLAY
select IRQ_DOMAIN
help
---
base-commit: 7af08b57bcb9ebf78675c50069c54125c0a8b795
change-id: 20241129-lan966x-depend-8bc69b4954e5
Best regards,
--
Ricardo Ribalda <ribalda@...omium.org>
Powered by blists - more mailing lists