Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Arnd Bergmann and committed by
Greg Kroah-Hartman
822852f2 aa071a92

+1
+1
drivers/usb/phy/Kconfig
··· 162 162 config USB_TEGRA_PHY 163 163 tristate "NVIDIA Tegra USB PHY Driver" 164 164 depends on ARCH_TEGRA 165 + select USB_COMMON 165 166 select USB_PHY 166 167 select USB_ULPI 167 168 help