diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-05-30 17:33:50 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-31 06:50:40 -0400 |
commit | 822852f203f75f929cd90eb196c0f7ca17efe6b1 (patch) | |
tree | a8aa6f6dee265b8e5de92f39c6f6a96bd533b6e3 | |
parent | aa071a92bbf09d993ff0dbf3b1f2b53ac93ad654 (diff) |
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>
-rw-r--r-- | drivers/usb/phy/Kconfig | 1 |
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 | |||
162 | config USB_TEGRA_PHY | 162 | config USB_TEGRA_PHY |
163 | tristate "NVIDIA Tegra USB PHY Driver" | 163 | tristate "NVIDIA Tegra USB PHY Driver" |
164 | depends on ARCH_TEGRA | 164 | depends on ARCH_TEGRA |
165 | select USB_COMMON | ||
165 | select USB_PHY | 166 | select USB_PHY |
166 | select USB_ULPI | 167 | select USB_ULPI |
167 | help | 168 | help |