Hi,
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 ...
The patch is against 2.6.6-rc3.
Thanks,
Stefan E.
Fix define for PXA UDC.
#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#
--- linux-ra_alpha-update/drivers/usb/gadget/gadget_chips.h~usbg-pxa-define-fix
+++ linux-ra_alpha-update/drivers/usb/gadget/gadget_chips.h
@@ -20,7 +20,7 @@
#define gadget_is_dummy(g) 0
#endif
-#ifdef CONFIG_USB_GADGET_PXA
+#ifdef CONFIG_USB_GADGET_PXA2XX
#define gadget_is_pxa(g) !strcmp("pxa2xx_udc", (g)->name)
#else
#define gadget_is_pxa(g) 0
--
Eletztrick Computing - Customized Linux Development
Stefan Eletzhofer, Marktstrasse 43, DE-88214 Ravensburg
http://www.eletztrick.de
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel