[PATCH] net: dsa: realtek: fix Kconfig selects

Ahmad Fatoum a.fatoum at pengutronix.de
Wed May 3 03:06:09 PDT 2023


Unlike Linux, barebox has no CONFIG_FIXED_PHY or CONFIG_IRQ_DOMAIN.
The former is implied by CONFIG_PHYLIB and the latter is unneeded, so
revise the Kconfig option accordingly.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 drivers/net/realtek-dsa/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/net/realtek-dsa/Kconfig b/drivers/net/realtek-dsa/Kconfig
index dd8599565f6e..0708f1ef96f4 100644
--- a/drivers/net/realtek-dsa/Kconfig
+++ b/drivers/net/realtek-dsa/Kconfig
@@ -2,8 +2,7 @@
 menuconfig DRIVER_NET_DSA_REALTEK
 	tristate "Realtek Ethernet switch family support"
 	depends on DSA
-	select FIXED_PHY
-	select IRQ_DOMAIN
+	select PHYLIB
 	select REALTEK_PHY
 	select REGMAP
 	help
-- 
2.39.2




More information about the barebox mailing list