diff options
author | Thierry Reding <[email protected]> | 2020-03-30 12:10:38 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-04-16 15:05:53 +0200 |
commit | 0d5c9bc7c68009af04bbadf22306467674c6fb90 (patch) | |
tree | 9535782363eac40ce639c1611acf19d388608be7 | |
parent | 901789745a053286e0ced37960d44fa60267b940 (diff) |
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 <[email protected]>
Suggested-by: Nathan Chancellor <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r-- | drivers/phy/tegra/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/phy/tegra/Kconfig b/drivers/phy/tegra/Kconfig index a208aca4ba7b..c591c958f1eb 100644 --- a/drivers/phy/tegra/Kconfig +++ b/drivers/phy/tegra/Kconfig @@ -1,7 +1,8 @@ # SPDX-License-Identifier: GPL-2.0-only config PHY_TEGRA_XUSB tristate "NVIDIA Tegra XUSB pad controller driver" - depends on ARCH_TEGRA + depends on ARCH_TEGRA && USB_SUPPORT + select USB_COMMON select USB_CONN_GPIO select USB_PHY help |