Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1d3dbfc3 authored by Felipe Balbi's avatar Felipe Balbi
Browse files

usb: gadget: mv_udc_core: check against CONFIG_USB_PHY



CONFIG_USB_OTG_UTILS will be removed very
soon, so we should check CONFIG_USB_PHY
instead.

Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 820d0883
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2127,7 +2127,7 @@ static int mv_udc_probe(struct platform_device *pdev)

	udc->dev = pdev;

#ifdef CONFIG_USB_OTG_UTILS
#if IS_ENABLED(CONFIG_USB_PHY)
	if (pdata->mode == MV_USB_MODE_OTG) {
		udc->transceiver = devm_usb_get_phy(&pdev->dev,
					USB_PHY_TYPE_USB2);