]> git.itanic.dy.fi Git - linux-stable/commitdiff
phy: renesas: phy-rcar-gen2: use select for GENERIC_PHY
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 4 Dec 2023 23:49:17 +0000 (15:49 -0800)
committerVinod Koul <vkoul@kernel.org>
Thu, 21 Dec 2023 17:09:34 +0000 (22:39 +0530)
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
Link: https://lore.kernel.org/r/20231204234917.23509-1-rdunlap@infradead.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/renesas/Kconfig

index 36505fc5f386e2ca17b3efa8b30c1eb554b3e9a7..e342eef0640b78a47dd766ead8772604a02b24ed 100644 (file)
@@ -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.