[PATCH 1/2] phy: kona2: use 'select GENERIC_PHY' in Kconfig

Arnd Bergmann arnd at arndb.de
Thu May 8 07:46:53 PDT 2014

All other phy drivers use 'select', while this one is
the only one to use 'depends on'. This is not a bug, just
slightly inconsistent, so let's change it to do things the
same way as everyone else.

We may also want to turn GENERIC_PHY into a silent option
that only ever gets turned on if another driver needs it.

Signed-off-by: Arnd Bergmann <arnd at arndb.de>
Cc: Kishon Vijay Abraham I <kishon at ti.com>
Cc: Matt Porter <mporter at linaro.org>
Cc: Felipe Balbi <balbi at ti.com>
 drivers/phy/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
index 4906c27..071b763 100644
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -89,8 +89,8 @@ config PHY_EXYNOS_DP_VIDEO
 	tristate "Broadcom Kona USB2 PHY Driver"
-	depends on GENERIC_PHY
 	depends on HAS_IOMEM
+	select GENERIC_PHY
 	  Enable this to support the Broadcom Kona USB 2.0 PHY.

More information about the linux-arm-kernel mailing list