diff options
author | Holger Waechtler <devnull@localhost> | 2002-11-08 22:01:36 +0000 |
---|---|---|
committer | Holger Waechtler <devnull@localhost> | 2002-11-08 22:01:36 +0000 |
commit | 95d9da80ef7df209ccee580f32046aebb1eadf78 (patch) | |
tree | fcfe87dbe646a19d0f5444dd6ba70276bc64e565 /linux/drivers/media/dvb/dvb-core/compat.h | |
parent | e8f530f6dc43b766d5eb2b59d39e5056e63d7f51 (diff) | |
download | mediapointer-dvb-s2-95d9da80ef7df209ccee580f32046aebb1eadf78.tar.gz mediapointer-dvb-s2-95d9da80ef7df209ccee580f32046aebb1eadf78.tar.bz2 |
enable 2.4 compatibility stuff for all kernels before 2.5.0
Diffstat (limited to 'linux/drivers/media/dvb/dvb-core/compat.h')
-rw-r--r-- | linux/drivers/media/dvb/dvb-core/compat.h | 6 |
1 files changed, 3 insertions, 3 deletions
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> |