]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8b835d9e69c0e37bad9ae343643ca0e0332812a2
tree9535782363eac40ce639c1611acf19d388608be7
parentae014752c6dd2278c9775cf7d69b68634c6318d3
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