[PATCH] phy: renesas: phy-rcar-gen2: use select for GENERIC_PHY

Randy Dunlap rdunlap at infradead.org
Mon Dec 4 15:49:17 PST 2023


Change the last "depends on GENERIC_PHY" to use select, like the
other 170+ Kconfig users do. This can help prevent circular
dependency issues.

Signed-off-by: Randy Dunlap <rdunlap at infradead.org>
Cc: Vinod Koul <vkoul at kernel.org>
Cc: Kishon Vijay Abraham I <kishon at kernel.org>
Cc: linux-phy at lists.infradead.org
---
 drivers/phy/renesas/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -- a/drivers/phy/renesas/Kconfig b/drivers/phy/renesas/Kconfig
--- a/drivers/phy/renesas/Kconfig
+++ b/drivers/phy/renesas/Kconfig
@@ -13,7 +13,7 @@ config PHY_R8A779F0_ETHERNET_SERDES
 config PHY_RCAR_GEN2
 	tristate "Renesas R-Car generation 2 USB PHY driver"
 	depends on ARCH_RENESAS
-	depends on GENERIC_PHY
+	select GENERIC_PHY
 	help
 	  Support for USB PHY found on Renesas R-Car generation 2 SoCs.
 



More information about the linux-phy mailing list