diff options
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 |