phy: tegra: Select USB_COMMON for usb_get_maximum_speed()
authorThierry Reding <treding@nvidia.com>
Mon, 30 Mar 2020 10:10:38 +0000 (12:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Apr 2020 13:05:53 +0000 (15:05 +0200)
commit0d5c9bc7c68009af04bbadf22306467674c6fb90
tree9535782363eac40ce639c1611acf19d388608be7
parent901789745a053286e0ced37960d44fa60267b940
phy: tegra: Select USB_COMMON for usb_get_maximum_speed()

The usb_get_maximum_speed() function is part of the usb-common module,
so enable it by selecting the corresponding Kconfig symbol.

While at it, also make sure to depend on USB_SUPPORT because USB_PHY
requires that. This can lead to Kconfig conflicts if USB_SUPPORT is not
enabled while attempting to enable PHY_TEGRA_XUSB.

Reported-by: kbuild test robot <lkp@intel.com>
Suggested-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20200330101038.2422389-1-thierry.reding@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/phy/tegra/Kconfig