summaryrefslogtreecommitdiff
path: root/drivers/usb/phy
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-05-31 00:33:50 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-31 13:50:40 +0300
commit822852f203f75f929cd90eb196c0f7ca17efe6b1 (patch)
treea8aa6f6dee265b8e5de92f39c6f6a96bd533b6e3 /drivers/usb/phy
parentaa071a92bbf09d993ff0dbf3b1f2b53ac93ad654 (diff)
downloadlinux-822852f203f75f929cd90eb196c0f7ca17efe6b1.tar.xz
phy: tegra: select USB_COMMON
A built-in PHY driver cannot link against modular USB core code: drivers/usb/phy/phy-tegra-usb.o: In function `tegra_usb_phy_probe': phy-tegra-usb.c:(.text+0x6bc): undefined reference to `usb_get_dr_mode' This uses a 'select' statement in Kconfig like we have for other such PHY drivers. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/phy')
-rw-r--r--drivers/usb/phy/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig
index b9b0a44be679..d7312eed6088 100644
--- a/drivers/usb/phy/Kconfig
+++ b/drivers/usb/phy/Kconfig
@@ -162,6 +162,7 @@ config USB_MXS_PHY
config USB_TEGRA_PHY
tristate "NVIDIA Tegra USB PHY Driver"
depends on ARCH_TEGRA
+ select USB_COMMON
select USB_PHY
select USB_ULPI
help