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/av7110 | |
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/av7110')
-rw-r--r-- | linux/drivers/media/dvb/av7110/av7110.c | 8 | ||||
-rw-r--r-- | linux/drivers/media/dvb/av7110/av7110_ir.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/linux/drivers/media/dvb/av7110/av7110.c b/linux/drivers/media/dvb/av7110/av7110.c index 36ae3d090..caadca7d0 100644 --- a/linux/drivers/media/dvb/av7110/av7110.c +++ b/linux/drivers/media/dvb/av7110/av7110.c @@ -3119,7 +3119,7 @@ int av7110_video_ioctl (struct av7110_s *av7110, unsigned int cmd, void *arg) } -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,45) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) static int dvb_ioctl(struct video_device *dev, unsigned int cmd, void *arg) @@ -3150,7 +3150,7 @@ int dvb_ioctl (struct inode *inode, struct file *file, #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,45) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) static int dvb_mmap(struct video_device *dev, const char *adr, unsigned long size) { @@ -3209,7 +3209,7 @@ unsigned int dvb_audio_poll(struct file *file, poll_table *wait) } -#if !(LINUX_VERSION_CODE < KERNEL_VERSION(2,5,45)) +#if !(LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)) static struct file_operations dvb_fops = { .ioctl = dvb_ioctl, .mmap = dvb_mmap, @@ -3229,7 +3229,7 @@ static struct video_device dvb_template = { VID_TYPE_FRAMERAM | VID_TYPE_SCALES, .hardware = VID_HARDWARE_SAA7146, -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,45) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) .ioctl = dvb_ioctl, .mmap = dvb_mmap, #else diff --git a/linux/drivers/media/dvb/av7110/av7110_ir.c b/linux/drivers/media/dvb/av7110/av7110_ir.c index e706672a1..a879c60b7 100644 --- a/linux/drivers/media/dvb/av7110/av7110_ir.c +++ b/linux/drivers/media/dvb/av7110/av7110_ir.c @@ -7,7 +7,7 @@ #include "av7110.h" -#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,45)) +#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)) #include "input_fake.h" #endif |