phy: kona2: use 'select GENERIC_PHY' in Kconfig
authorArnd Bergmann <arnd@arndb.de>
Thu, 8 May 2014 14:46:53 +0000 (16:46 +0200)
committerKishon Vijay Abraham I <kishon@ti.com>
Mon, 12 May 2014 13:32:02 +0000 (19:02 +0530)
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@arndb.de>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Cc: Matt Porter <mporter@linaro.org>
Cc: Felipe Balbi <balbi@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/Kconfig

index 4906c27fa3bd9f5a8fb4da35981fabd170ccbc60..071b7633bf038cc7f5494ab5fec54f8ba21defbc 100644 (file)
@@ -89,8 +89,8 @@ config PHY_EXYNOS_DP_VIDEO
 
 config BCM_KONA_USB2_PHY
        tristate "Broadcom Kona USB2 PHY Driver"
-       depends on GENERIC_PHY
        depends on HAS_IOMEM
+       select GENERIC_PHY
        help
          Enable this to support the Broadcom Kona USB 2.0 PHY.