Trying to bring a UDP driver I've been developing on 2.4 up to date on the 2.6 line, however I am encountering some errors when usb_gadget.h is imported:
CC drivers/usb/gadget/at91_udc.o In file included from drivers/usb/gadget/at91_udc.c:21: include/linux/usb_gadget.h:517: error: field `dev' has incomplete type include/linux/usb_gadget.h: In function `set_gadget_data': include/linux/usb_gadget.h:521: warning: implicit declaration of function `dev_set_drvdata' include/linux/usb_gadget.h: In function `get_gadget_data': include/linux/usb_gadget.h:523: warning: implicit declaration of function `dev_get_drvdata' include/linux/usb_gadget.h:523: warning: return makes pointer from integer without a cast include/linux/usb_gadget.h: At top level: include/linux/usb_gadget.h:783: error: field `driver' has incomplete type drivers/usb/gadget/at91_udc.c:748: confused by earlier errors, bailing out make[2]: *** [drivers/usb/gadget/at91_udc.o] Error 1 make[1]: *** [drivers/usb/gadget] Error 2 make: *** [drivers] Error 2 Checking bitkeeper I see that this include file hasn't changed for 5 months. Any ideas? arch=arm gcc=3.4.2 glibc=2.3.3 kernel=2.6.10-rc2-at91. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel