Message ID | 208cbae30904081611p604ec790kbbd2fac4daf358c3@mail.gmail.com (mailing list archive) |
---|---|
State | RFC |
Headers | show |
diff -r 77ebdc14cc24 v4l/compat.h --- a/v4l/compat.h Wed Apr 08 14:01:19 2009 -0300 +++ b/v4l/compat.h Thu Apr 09 03:08:07 2009 +0400 @@ -392,11 +392,13 @@ } #endif +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 30) #ifdef NEED_USB_ENDPOINT_TYPE static inline int usb_endpoint_type(const struct usb_endpoint_descriptor *epd) { return epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; } +#endif #endif #endif /* __LINUX_USB_H */