Re: [PATCH -next] phy: marvell: phy-mvebu-cp11i-utmi needs USB_COMMON

From: Vinod Koul
Date: Tue Apr 06 2021 - 01:04:39 EST


On 01-04-21, 14:00, Randy Dunlap wrote:
> 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'

Applied, thanks

--
~Vinod