diff options
Diffstat (limited to 'drivers/media/video/saa5249.c')
-rw-r--r-- | drivers/media/video/saa5249.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/saa5249.c b/drivers/media/video/saa5249.c index e73bb738933c..e29765192469 100644 --- a/drivers/media/video/saa5249.c +++ b/drivers/media/video/saa5249.c | |||
@@ -190,7 +190,7 @@ static int i2c_getdata(struct saa5249_device *t, int count, u8 *buf) | |||
190 | * Standard character-device-driver functions | 190 | * Standard character-device-driver functions |
191 | */ | 191 | */ |
192 | 192 | ||
193 | static int do_saa5249_ioctl(struct file *file, unsigned int cmd, void *arg) | 193 | static long do_saa5249_ioctl(struct file *file, unsigned int cmd, void *arg) |
194 | { | 194 | { |
195 | static int virtual_mode = false; | 195 | static int virtual_mode = false; |
196 | struct saa5249_device *t = video_drvdata(file); | 196 | struct saa5249_device *t = video_drvdata(file); |
@@ -479,11 +479,11 @@ static inline unsigned int vtx_fix_command(unsigned int cmd) | |||
479 | * Handle the locking | 479 | * Handle the locking |
480 | */ | 480 | */ |
481 | 481 | ||
482 | static int saa5249_ioctl(struct file *file, | 482 | static long saa5249_ioctl(struct file *file, |
483 | unsigned int cmd, unsigned long arg) | 483 | unsigned int cmd, unsigned long arg) |
484 | { | 484 | { |
485 | struct saa5249_device *t = video_drvdata(file); | 485 | struct saa5249_device *t = video_drvdata(file); |
486 | int err; | 486 | long err; |
487 | 487 | ||
488 | cmd = vtx_fix_command(cmd); | 488 | cmd = vtx_fix_command(cmd); |
489 | mutex_lock(&t->lock); | 489 | mutex_lock(&t->lock); |