]> git.ipfire.org Git - people/arne_f/kernel.git/blobdiff - arch/arm/mach-omap1/board-h2.c
sun7i: dts: add bananapro.
[people/arne_f/kernel.git] / arch / arm / mach-omap1 / board-h2.c
index fd90cafc2e36e7b9bc3d5264bc18bfc183965004..db57072aeed3ee6c73717b294f02c40159225830 100644 (file)
@@ -343,7 +343,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)