projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARM: OMAP: replace checks for CONFIG_USB_GADGET_OMAP
[cascardo/linux.git]
/
drivers
/
usb
/
phy
/
phy-isp1301-omap.c
diff --git
a/drivers/usb/phy/phy-isp1301-omap.c
b/drivers/usb/phy/phy-isp1301-omap.c
index
6e146d7
..
69e49be
100644
(file)
--- a/
drivers/usb/phy/phy-isp1301-omap.c
+++ b/
drivers/usb/phy/phy-isp1301-omap.c
@@
-1295,7
+1295,7
@@
isp1301_set_host(struct usb_otg *otg, struct usb_bus *host)
return isp1301_otg_enable(isp);
return 0;
-#elif
!defined(CONFIG_USB_GADGET
_OMAP)
+#elif
!IS_ENABLED(CONFIG_USB
_OMAP)
// FIXME update its refcount
otg->host = host;