diff options
Diffstat (limited to 'v4l/compat.h')
-rw-r--r-- | v4l/compat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/v4l/compat.h b/v4l/compat.h index 49c89ea2d..de192e8cf 100644 --- a/v4l/compat.h +++ b/v4l/compat.h @@ -339,6 +339,10 @@ usb_endpoint_is_int_in(const struct usb_endpoint_descriptor *epd) #define list_first_entry(ptr, type, member) \ list_entry((ptr)->next, type, member) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 28) +#define netdev_priv(dev) (dev->priv) +#endif + /* * uninitialized_var() macro */ |