projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
820d088
)
usb: gadget: mv_udc_core: check against CONFIG_USB_PHY
author
Felipe Balbi
<balbi@ti.com>
Thu, 7 Mar 2013 09:24:08 +0000
(11:24 +0200)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 18 Mar 2013 09:18:06 +0000
(11:18 +0200)
CONFIG_USB_OTG_UTILS will be removed very
soon, so we should check CONFIG_USB_PHY
instead.
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/mv_udc_core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/mv_udc_core.c
b/drivers/usb/gadget/mv_udc_core.c
index d278e8f512c0f9a6714ec7983a3eb0280610e250..d550b2129133bc1cf6d45bfb4a1070ad98d16eed 100644
(file)
--- a/
drivers/usb/gadget/mv_udc_core.c
+++ b/
drivers/usb/gadget/mv_udc_core.c
@@
-2127,7
+2127,7
@@
static int mv_udc_probe(struct platform_device *pdev)
udc->dev = pdev;
-#if
def 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);