]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
phy: ti: phy-gmii-sel: dependency from ti cpsw-switchdev driver
authorGrygorii Strashko <grygorii.strashko@ti.com>
Tue, 19 Nov 2019 22:19:21 +0000 (00:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Nov 2019 19:25:24 +0000 (11:25 -0800)
Add dependency from TI_CPSW_SWITCHDEV.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/phy/ti/Kconfig

index c3fa1840f8de6b9d6f5c7ea10003f0d0c80efd27..174888609779974e94341e960aed86ffc6d61e8c 100644 (file)
@@ -90,8 +90,8 @@ config TWL4030_USB
 
 config PHY_TI_GMII_SEL
        tristate
-       default y if TI_CPSW=y
-       depends on TI_CPSW || COMPILE_TEST
+       default y if TI_CPSW=y || TI_CPSW_SWITCHDEV=y
+       depends on TI_CPSW || TI_CPSW_SWITCHDEV || COMPILE_TEST
        select GENERIC_PHY
        select REGMAP
        default m