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

Ahmad Fatoum a.fatoum at pengutronix.de
Fri May 19 01:40:09 PDT 2023


net: dsa: realtek: drop select of undefined REGMAP option

Regmap support is available unconditionally in barebox and is only
removed by linker garbage collection, unlike the kernel.

Reported-by: Antony Pavlov <antonynpavlov at gmail.com>
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 drivers/net/realtek-dsa/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/realtek-dsa/Kconfig b/drivers/net/realtek-dsa/Kconfig
index 0708f1ef96f4..f9404e0265ee 100644
--- a/drivers/net/realtek-dsa/Kconfig
+++ b/drivers/net/realtek-dsa/Kconfig
@@ -4,7 +4,6 @@ menuconfig DRIVER_NET_DSA_REALTEK
 	depends on DSA
 	select PHYLIB
 	select REALTEK_PHY
-	select REGMAP
 	help
 	  Select to enable support for Realtek Ethernet switch chips.
 
-- 
2.39.2




More information about the barebox mailing list