diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-18 19:29:12 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-18 19:29:12 -0300 |
commit | 95d7aea2f14caa63e65d2bab792626f8a90194b4 (patch) | |
tree | 30bc59e8b8c1481f79ab25121f45ab7714d631ee | |
parent | e4d862cdc3c9dcdbaa14c3e6519f4af2077e8269 (diff) | |
download | mediapointer-dvb-s2-95d7aea2f14caa63e65d2bab792626f8a90194b4.tar.gz mediapointer-dvb-s2-95d7aea2f14caa63e65d2bab792626f8a90194b4.tar.bz2 |
Fix building with kernel 2.6.25
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Thanks to Dâniel Fraga <fraga@abusar.org> for pointing this issue
CC: Dâniel Fraga <fraga@abusar.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | v4l/compat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/v4l/compat.h b/v4l/compat.h index ea7d49acf..78d6c1d75 100644 --- a/v4l/compat.h +++ b/v4l/compat.h @@ -533,6 +533,8 @@ do { \ le16_to_cpu(get_unaligned((unsigned short *)(a))) #define put_unaligned_le16(r, a) \ put_unaligned(cpu_to_le16(r), ((unsigned short *)(a))) +#endif +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 25) #ifdef CONFIG_PROC_FS static inline struct proc_dir_entry *proc_create(const char *a, mode_t b, struct proc_dir_entry *c, const struct file_operations *d) |