Skip to content

Commit 0d5c9bc

Browse files
thierryredinggregkh
authored andcommitted
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]>
1 parent 9017897 commit 0d5c9bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/phy/tegra/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22
config PHY_TEGRA_XUSB
33
tristate "NVIDIA Tegra XUSB pad controller driver"
4-
depends on ARCH_TEGRA
4+
depends on ARCH_TEGRA && USB_SUPPORT
5+
select USB_COMMON
56
select USB_CONN_GPIO
67
select USB_PHY
78
help

0 commit comments

Comments
 (0)