Commit 770c2983 authored by Stefan Eletzhofer's avatar Stefan Eletzhofer Committed by Greg Kroah-Hartman

[PATCH] USB Gadget: fix pxa define in gadget_chips.h

below is a trivial patch which fixes the PXA gadget define
in drivers/linux/usb/gadget/gadget_chips.h

Everywhere CONFIG_USB_GADGET_PXA2XX is used, except in that file, which
bites obviously ...


Fix define for PXA UDC.
parent 821a488e
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#define gadget_is_dummy(g) 0 #define gadget_is_dummy(g) 0
#endif #endif
#ifdef CONFIG_USB_GADGET_PXA #ifdef CONFIG_USB_GADGET_PXA2XX
#define gadget_is_pxa(g) !strcmp("pxa2xx_udc", (g)->name) #define gadget_is_pxa(g) !strcmp("pxa2xx_udc", (g)->name)
#else #else
#define gadget_is_pxa(g) 0 #define gadget_is_pxa(g) 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment