summaryrefslogtreecommitdiffstats
path: root/drivers/phy/Kconfig
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-11-30 12:29:31 +0100
committerKishon Vijay Abraham I <kishon@ti.com>2015-12-03 11:55:41 +0530
commit97dc5bf8d60938741e2f99242dff3684c29b6d90 (patch)
tree6b27e502695f8122a2e6bfdcb0d8e5e4e89ed4a4 /drivers/phy/Kconfig
parent8005c49d9aea74d382f474ce11afbbc7d7130bec (diff)
downloadlinux-stable-97dc5bf8d60938741e2f99242dff3684c29b6d90.tar.gz
linux-stable-97dc5bf8d60938741e2f99242dff3684c29b6d90.tar.bz2
linux-stable-97dc5bf8d60938741e2f99242dff3684c29b6d90.zip
phy: sun9i-usb: add USB dependency
The sun9i usb phy driver calls of_usb_get_phy_mode(), which is not available if USB is disabled: drivers/built-in.o: In function `sun9i_usb_phy_probe': :(.text+0x7fb0): undefined reference to `of_usb_get_phy_mode' This adds a dependency to avoid the randconfig build errors. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Fixes: 9c3b44302636 ("phy: Add driver to support individual USB PHYs on sun9i") Acked-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/Kconfig')
-rw-r--r--drivers/phy/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
index 7eb5859dd035..03cb3ea2d2c0 100644
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -233,6 +233,7 @@ config PHY_SUN9I_USB
tristate "Allwinner sun9i SoC USB PHY driver"
depends on ARCH_SUNXI && HAS_IOMEM && OF
depends on RESET_CONTROLLER
+ depends on USB_COMMON
select GENERIC_PHY
help
Enable this to support the transceiver that is part of Allwinner