diff options
Diffstat (limited to 'drivers/media/radio/radio-cadet.c')
-rw-r--r-- | drivers/media/radio/radio-cadet.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/drivers/media/radio/radio-cadet.c b/drivers/media/radio/radio-cadet.c index 57b9e3adc8f0..b14db53ea456 100644 --- a/drivers/media/radio/radio-cadet.c +++ b/drivers/media/radio/radio-cadet.c | |||
@@ -69,13 +69,13 @@ static struct v4l2_queryctrl radio_qctrl[] = { | |||
69 | 69 | ||
70 | static int io=-1; /* default to isapnp activation */ | 70 | static int io=-1; /* default to isapnp activation */ |
71 | static int radio_nr = -1; | 71 | static int radio_nr = -1; |
72 | static int users=0; | 72 | static int users; |
73 | static int curtuner=0; | 73 | static int curtuner; |
74 | static int tunestat=0; | 74 | static int tunestat; |
75 | static int sigstrength=0; | 75 | static int sigstrength; |
76 | static wait_queue_head_t read_queue; | 76 | static wait_queue_head_t read_queue; |
77 | static struct timer_list readtimer; | 77 | static struct timer_list readtimer; |
78 | static __u8 rdsin=0,rdsout=0,rdsstat=0; | 78 | static __u8 rdsin, rdsout, rdsstat; |
79 | static unsigned char rdsbuf[RDS_BUFFER]; | 79 | static unsigned char rdsbuf[RDS_BUFFER]; |
80 | static spinlock_t cadet_io_lock; | 80 | static spinlock_t cadet_io_lock; |
81 | 81 | ||
@@ -563,7 +563,9 @@ static const struct file_operations cadet_fops = { | |||
563 | .read = cadet_read, | 563 | .read = cadet_read, |
564 | .ioctl = video_ioctl2, | 564 | .ioctl = video_ioctl2, |
565 | .poll = cadet_poll, | 565 | .poll = cadet_poll, |
566 | #ifdef CONFIG_COMPAT | ||
566 | .compat_ioctl = v4l_compat_ioctl32, | 567 | .compat_ioctl = v4l_compat_ioctl32, |
568 | #endif | ||
567 | .llseek = no_llseek, | 569 | .llseek = no_llseek, |
568 | }; | 570 | }; |
569 | 571 | ||