Message ID | 208cbae30903311617x35b3af1dmf9036be228ce5d52@mail.gmail.com (mailing list archive) |
---|---|
State | RFC |
Headers | show |
diff -r 5567e82c34a0 v4l/compat.h --- a/v4l/compat.h Tue Mar 31 07:24:14 2009 -0300 +++ b/v4l/compat.h Wed Apr 01 03:08:17 2009 +0400 @@ -393,10 +393,7 @@ #endif #ifdef NEED_USB_ENDPOINT_TYPE -static inline int usb_endpoint_type(const struct usb_endpoint_descriptor *epd) -{ - return epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; -} +#include <linux/usb/ch9.h> #endif #endif /* __LINUX_USB_H */