> Change this: > > static inline void usb_settoggle(struct usb_device *dev, > unsigned int ep, > unsigned int out, > int bit) > { > dev->toggle[out] &= ~(1 << ep); > dev->toggle[out] |= bit << ep; > } > > by this: > > #define usb_settoggle(dev, ep, out, bit) ((dev)->toggle[out] = > ((dev)->toggle[out] & ~(1 << ep)) | ((bit) << ep))
Hi Josep, does the following also work? --- usb.h.orig 2003-12-11 14:29:08.000000000 +0100 +++ usb.h 2003-12-11 14:29:16.000000000 +0100 @@ -1005,7 +1005,7 @@ static inline void usb_settoggle(struct usb_device *dev, unsigned int ep, unsigned int out, - int bit) + unsigned int bit) { dev->toggle[out] &= ~(1 << ep); dev->toggle[out] |= bit << ep; ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel