mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 00:05:11 +07:00
6835bdc995
I have hit the following build error: armv7a-hardfloat-linux-gnueabi-ld: drivers/phy/tegra/xusb.o: in function `tegra_xusb_port_unregister': xusb.c:(.text+0x2ac): undefined reference to `usb_remove_phy' armv7a-hardfloat-linux-gnueabi-ld: drivers/phy/tegra/xusb.o: in function `tegra_xusb_setup_ports': xusb.c:(.text+0xf30): undefined reference to `usb_add_phy_dev' PHY_TEGRA_XUSB should select USB_PHY because it uses symbols defined in the code enabled by that. Fixes: 23babe30fb45d ("phy: tegra: xusb: Add usb-phy support") Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
19 lines
564 B
Plaintext
19 lines
564 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config PHY_TEGRA_XUSB
|
|
tristate "NVIDIA Tegra XUSB pad controller driver"
|
|
depends on ARCH_TEGRA
|
|
select USB_CONN_GPIO
|
|
select USB_PHY
|
|
help
|
|
Choose this option if you have an NVIDIA Tegra SoC.
|
|
|
|
To compile this driver as a module, choose M here: the module will
|
|
be called phy-tegra-xusb.
|
|
|
|
config PHY_TEGRA194_P2U
|
|
tristate "NVIDIA Tegra194 PIPE2UPHY PHY driver"
|
|
depends on ARCH_TEGRA_194_SOC || COMPILE_TEST
|
|
select GENERIC_PHY
|
|
help
|
|
Enable this to support the P2U (PIPE to UPHY) that is part of Tegra 19x SOCs.
|