Merge branch 'omap1-usb-fix' into omap-for-v4.21/omap1
authorTony Lindgren <tony@atomide.com>
Tue, 11 Dec 2018 16:14:58 +0000 (08:14 -0800)
committerTony Lindgren <tony@atomide.com>
Tue, 11 Dec 2018 16:14:58 +0000 (08:14 -0800)
arch/arm/mach-omap1/Makefile
arch/arm/mach-omap1/include/mach/usb.h

index e8ccf51c6f292959c4f373d7a802c19ddf278c09..ec0235899de20e63eb4d351775a1675817aafb6a 100644 (file)
@@ -25,7 +25,7 @@ obj-y                                 += $(i2c-omap-m) $(i2c-omap-y)
 
 led-y := leds.o
 
-usb-fs-$(CONFIG_USB)                   := usb.o
+usb-fs-$(CONFIG_USB_SUPPORT)           := usb.o
 obj-y                                  += $(usb-fs-m) $(usb-fs-y)
 
 # Specific board support
index 77867778d4ec700844fefe14146303a9f35f17fb..5429d86c7190d805ea003729837997751a772eaa 100644 (file)
@@ -11,7 +11,7 @@
 
 #include <linux/platform_data/usb-omap1.h>
 
-#if IS_ENABLED(CONFIG_USB)
+#if IS_ENABLED(CONFIG_USB_SUPPORT)
 void omap1_usb_init(struct omap_usb_config *pdata);
 #else
 static inline void omap1_usb_init(struct omap_usb_config *pdata)