diff options
Diffstat (limited to 'drivers/media/radio/radio-sf16fmr2.c')
-rw-r--r-- | drivers/media/radio/radio-sf16fmr2.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/radio/radio-sf16fmr2.c b/drivers/media/radio/radio-sf16fmr2.c index bcebd8cb19ad..3483b2c7bc9d 100644 --- a/drivers/media/radio/radio-sf16fmr2.c +++ b/drivers/media/radio/radio-sf16fmr2.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <asm/io.h> /* outb, outb_p */ | 19 | #include <asm/io.h> /* outb, outb_p */ |
20 | #include <asm/uaccess.h> /* copy to/from user */ | 20 | #include <asm/uaccess.h> /* copy to/from user */ |
21 | #include <linux/videodev.h> /* kernel radio structs */ | 21 | #include <linux/videodev.h> /* kernel radio structs */ |
22 | #include <media/v4l2-common.h> | ||
22 | #include <linux/mutex.h> | 23 | #include <linux/mutex.h> |
23 | 24 | ||
24 | static struct mutex lock; | 25 | static struct mutex lock; |
@@ -202,7 +203,7 @@ static int fmr2_setvolume(struct fmr2_device *dev) | |||
202 | } | 203 | } |
203 | 204 | ||
204 | static int fmr2_do_ioctl(struct inode *inode, struct file *file, | 205 | static int fmr2_do_ioctl(struct inode *inode, struct file *file, |
205 | unsigned int cmd, void *arg) | 206 | unsigned int cmd, void *arg) |
206 | { | 207 | { |
207 | struct video_device *dev = video_devdata(file); | 208 | struct video_device *dev = video_devdata(file); |
208 | struct fmr2_device *fmr2 = dev->priv; | 209 | struct fmr2_device *fmr2 = dev->priv; |
@@ -344,7 +345,7 @@ static int fmr2_do_ioctl(struct inode *inode, struct file *file, | |||
344 | } | 345 | } |
345 | 346 | ||
346 | static int fmr2_ioctl(struct inode *inode, struct file *file, | 347 | static int fmr2_ioctl(struct inode *inode, struct file *file, |
347 | unsigned int cmd, unsigned long arg) | 348 | unsigned int cmd, unsigned long arg) |
348 | { | 349 | { |
349 | return video_usercopy(inode, file, cmd, arg, fmr2_do_ioctl); | 350 | return video_usercopy(inode, file, cmd, arg, fmr2_do_ioctl); |
350 | } | 351 | } |