[PATCH 71/94] phy: sun4i: depend on RESET_CONTROLLER

Sam Asadi asadi.samuel at gmail.com
Tue Jul 15 17:01:26 UTC 2014


From: Maxime Ripard <maxime.ripard at free-electrons.com>

The driver depend on the reset framework in a mandatory way. Make sure
reset_control_get is defined by adding this dependency in Kconfig

Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
Reported-by: Arnd Bergmann <arnd at arndb.de>
Signed-off-by: Kishon Vijay Abraham I <kishon at ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
Signed-off-by: sam-the-6 <asadi.samuel at gmail.com>
---
 drivers/phy/Kconfig |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
index fcdfe7c..64b98d2 100644
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -112,6 +112,7 @@ config PHY_EXYNOS5250_SATA
 config PHY_SUN4I_USB
 	tristate "Allwinner sunxi SoC USB PHY driver"
 	depends on ARCH_SUNXI && HAS_IOMEM && OF
+	depends on RESET_CONTROLLER
 	select GENERIC_PHY
 	help
 	  Enable this to support the transceiver that is part of Allwinner
-- 
1.7.10.4



More information about the devel mailing list