ARM: OMAP: replace checks for CONFIG_USB_GADGET_OMAP
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-omap1 / board-h2.c
index 0dac3d239e326345afcc01779d5565dead760085..d712c517223711ceeca0881572e1c92fb793b5f4 100644 (file)
@@ -379,7 +379,7 @@ static struct omap_usb_config h2_usb_config __initdata = {
        /* usb1 has a Mini-AB port and external isp1301 transceiver */
        .otg            = 2,
 
-#ifdef CONFIG_USB_GADGET_OMAP
+#if IS_ENABLED(CONFIG_USB_OMAP)
        .hmc_mode       = 19,   /* 0:host(off) 1:dev|otg 2:disabled */
        /* .hmc_mode    = 21,*/ /* 0:host(off) 1:dev(loopback) 2:host(loopback) */
 #elif  defined(CONFIG_USB_OHCI_HCD) || defined(CONFIG_USB_OHCI_HCD_MODULE)