summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1/include/mach/usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap1/include/mach/usb.h')
-rw-r--r--arch/arm/mach-omap1/include/mach/usb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap1/include/mach/usb.h b/arch/arm/mach-omap1/include/mach/usb.h
index 753cd5ce6949..45e5ac707cbb 100644
--- a/arch/arm/mach-omap1/include/mach/usb.h
+++ b/arch/arm/mach-omap1/include/mach/usb.h
@@ -2,7 +2,7 @@
* FIXME correct answer depends on hmc_mode,
* as does (on omap1) any nonzero value for config->otg port number
*/
-#ifdef CONFIG_USB_GADGET_OMAP
+#if IS_ENABLED(CONFIG_USB_OMAP)
#define is_usb0_device(config) 1
#else
#define is_usb0_device(config) 0
OpenPOWER on IntegriCloud