Commit 822852f2 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Greg Kroah-Hartman

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: default avatarArnd Bergmann <arnd@arndb.de>
Reviewed-by: default avatarDmitry Osipenko <digetx@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent aa071a92
...@@ -162,6 +162,7 @@ config USB_MXS_PHY ...@@ -162,6 +162,7 @@ config USB_MXS_PHY
config USB_TEGRA_PHY config USB_TEGRA_PHY
tristate "NVIDIA Tegra USB PHY Driver" tristate "NVIDIA Tegra USB PHY Driver"
depends on ARCH_TEGRA depends on ARCH_TEGRA
select USB_COMMON
select USB_PHY select USB_PHY
select USB_ULPI select USB_ULPI
help help
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment