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

Randy Dunlap posted 1 patch 2 years ago
drivers/phy/renesas/Kconfig |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] phy: renesas: phy-rcar-gen2: use select for GENERIC_PHY
Posted by Randy Dunlap 2 years ago
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@infradead.org>
Cc: Vinod Koul <vkoul@kernel.org>
Cc: Kishon Vijay Abraham I <kishon@kernel.org>
Cc: linux-phy@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.
Re: [PATCH] phy: renesas: phy-rcar-gen2: use select for GENERIC_PHY
Posted by Vinod Koul 2 years ago
On Mon, 04 Dec 2023 15:49:17 -0800, Randy Dunlap wrote:
> Change the last "depends on GENERIC_PHY" to use select, like the
> other 170+ Kconfig users do. This can help prevent circular
> dependency issues.
> 
> 

Applied, thanks!

[1/1] phy: renesas: phy-rcar-gen2: use select for GENERIC_PHY
      commit: 54c899f0d647e5724b02486243da40134dc91c45

Best regards,
-- 
~Vinod