summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-core
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/dvb/dvb-core')
-rw-r--r--linux/drivers/media/dvb/dvb-core/compat.c6
-rw-r--r--linux/drivers/media/dvb/dvb-core/compat.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/compat.c b/linux/drivers/media/dvb/dvb-core/compat.c
index 21de3c588..d76a0a3fc 100644
--- a/linux/drivers/media/dvb/dvb-core/compat.c
+++ b/linux/drivers/media/dvb/dvb-core/compat.c
@@ -8,7 +8,7 @@
* even when everything compiles.
*/
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,45)) || !CONFIG_VIDEO_DEV
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)) || !CONFIG_VIDEO_DEV
int generic_usercopy(struct inode *inode, struct file *file,
unsigned int cmd, unsigned long arg,
int (*func)(struct inode *inode, struct file *file,
@@ -69,7 +69,7 @@ out:
#endif
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,45))
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0))
struct page * vmalloc_to_page(void *vmalloc_addr)
{
unsigned long addr = (unsigned long) vmalloc_addr;
@@ -92,7 +92,7 @@ struct page * vmalloc_to_page(void *vmalloc_addr)
#endif
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,45))
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0))
static
u32 crc32_table[256] = {
0x00000000, 0x04c11db7, 0x09823b6e, 0x0d4326d9, 0x130476dc, 0x17c56b6b,
diff --git a/linux/drivers/media/dvb/dvb-core/compat.h b/linux/drivers/media/dvb/dvb-core/compat.h
index bc0e7c2bd..1dafb80a5 100644
--- a/linux/drivers/media/dvb/dvb-core/compat.h
+++ b/linux/drivers/media/dvb/dvb-core/compat.h
@@ -33,7 +33,7 @@
#endif
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,45)) || !CONFIG_VIDEO_DEV
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)) || !CONFIG_VIDEO_DEV
#define video_usercopy generic_usercopy
extern int generic_usercopy(struct inode *inode, struct file *file,
@@ -42,7 +42,7 @@ extern int generic_usercopy(struct inode *inode, struct file *file,
unsigned int cmd, void *arg));
#endif
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,45)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
#define video_devdata(dev) (dev->priv)
@@ -61,7 +61,7 @@ extern struct page * vmalloc_to_page(void *addr);
#endif
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,45))
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0))
extern u32 crc32_le (u32 crc, unsigned char const *p, size_t len);
#else
#include <linux/crc32.h>