]> git.baikalelectronics.ru Git - kernel.git/commit
phy: marvell: phy-mvebu-cp11i-utmi needs USB_COMMON
authorRandy Dunlap <rdunlap@infradead.org>
Thu, 1 Apr 2021 21:00:45 +0000 (14:00 -0700)
committerVinod Koul <vkoul@kernel.org>
Tue, 6 Apr 2021 05:04:20 +0000 (10:34 +0530)
commitc57663099c7c58439bcee4d343531662927f416d
tree8bde6b223a3c66226da07d976a5db721e554f2b0
parent9b0deb4c3b8f955ce5665cf143d3441eddeee660
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>
drivers/phy/marvell/Kconfig