diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-30 01:31:59 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-30 01:31:59 -0200 |
commit | 85ae2dbc568eeaf40b2c1d8426db2d19bb6dfc1b (patch) | |
tree | a5ec37b92f84eca3402663245880a159abc4dee6 /v4l/compat.h | |
parent | 9432f298ddeb3d9fd4fa7904e6ec802962e002ff (diff) | |
parent | b368ca4c3ea78c6d07ee807cbf4f33913adfbc30 (diff) | |
download | mediapointer-dvb-s2-85ae2dbc568eeaf40b2c1d8426db2d19bb6dfc1b.tar.gz mediapointer-dvb-s2-85ae2dbc568eeaf40b2c1d8426db2d19bb6dfc1b.tar.bz2 |
merge: http://linuxtv.org/hg/~dheitmueller/v4l-dvb-em28xx-fixes
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'v4l/compat.h')
-rw-r--r-- | v4l/compat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/v4l/compat.h b/v4l/compat.h index de192e8cf..22281f6f9 100644 --- a/v4l/compat.h +++ b/v4l/compat.h @@ -339,8 +339,8 @@ 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) +#ifdef NEED_NETDEV_PRIV +#define netdev_priv(dev) ((dev)->priv) #endif /* |