[PATCH 1/2] phy: berlin_usb: depends on RESET_CONTROLLER

Antoine Tenart antoine.tenart at free-electrons.com
Mon Nov 17 05:33:11 PST 2014


The Berlin USB PHY driver uses the Berlin reset controller
unconditionally. Make it depending on RESET_CONTROLLER.

Signed-off-by: Antoine Tenart <antoine.tenart at free-electrons.com>
---
 drivers/phy/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
index b6da75f563e7..38ca6ff00aef 100644
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -17,7 +17,7 @@ config GENERIC_PHY
 
 config PHY_BERLIN_USB
 	tristate "Marvell Berlin USB PHY Driver"
-	depends on ARCH_BERLIN && HAS_IOMEM && OF
+	depends on ARCH_BERLIN && RESET_CONTROLLER && HAS_IOMEM && OF
 	select GENERIC_PHY
 	help
 	  Enable this to support the USB PHY on Marvell Berlin SoCs.
-- 
2.1.0




More information about the linux-arm-kernel mailing list