OSDN Git Service

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)
committerKishon Vijay Abraham I <kishon@ti.com>
Fri, 24 Apr 2020 07:42:14 +0000 (13:12 +0530)
commitb61ad5c0e21cc54107ca65b0b14bb57c2d39a3b6
tree72e8b9c103f918fb2eabac36adf585410d0d2ed4
parent8f3d9f354286745c751374f5f1fcafee6b3f3136
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>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/tegra/Kconfig