diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2021-04-01 23:00:45 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-04-06 07:04:20 +0200 |
commit | 183bf0917e491e83881ccf6fb7d3df0aa843b756 (patch) | |
tree | 8bde6b223a3c66226da07d976a5db721e554f2b0 /drivers/phy | |
parent | phy: qcom-qmp: add support for sm8250-usb3-dp phy (diff) | |
download | linux-183bf0917e491e83881ccf6fb7d3df0aa843b756.tar.xz linux-183bf0917e491e83881ccf6fb7d3df0aa843b756.zip |
phy: marvell: phy-mvebu-cp11i-utmi needs USB_COMMON
When USB and USB_COMMON are not enabled, phy-mvebu-cp110-utmi
suffers a build error due to a missing interface that is provided
by CONFIG_USB_COMMON, so make the driver depend on USB_COMMON.
ld: drivers/phy/marvell/phy-mvebu-cp110-utmi.o: in function `mvebu_cp110_utmi_phy_probe':
phy-mvebu-cp110-utmi.c:(.text+0x152): undefined reference to `of_usb_get_dr_mode_by_phy'
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Kostya Porotchkin <kostap@marvell.com>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Cc: Vinod Koul <vkoul@kernel.org>
Cc: linux-phy@lists.infradead.org
Link: https://lore.kernel.org/r/20210401210045.23525-1-rdunlap@infradead.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy')
-rw-r--r-- | drivers/phy/marvell/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/marvell/Kconfig b/drivers/phy/marvell/Kconfig index c5651ef70666..bdb87c976243 100644 --- a/drivers/phy/marvell/Kconfig +++ b/drivers/phy/marvell/Kconfig @@ -70,7 +70,7 @@ config PHY_MVEBU_CP110_COMPHY config PHY_MVEBU_CP110_UTMI tristate "Marvell CP110 UTMI driver" depends on ARCH_MVEBU || COMPILE_TEST - depends on OF + depends on OF && USB_COMMON select GENERIC_PHY help Enable this to support Marvell CP110 UTMI PHY driver. |