ARM: OMAP: replace checks for CONFIG_USB_GADGET_OMAP
[cascardo/linux.git] / drivers / usb / phy / phy-isp1301-omap.c
index 6e146d7..69e49be 100644 (file)
@@ -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;