diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-12-31 07:35:57 -0500 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-12-31 07:35:57 -0500 |
commit | 2ca1a615835d9f4990f42102ab1f2ef434e7e89c (patch) | |
tree | 726cf3d5f29a6c66c44e4bd68e7ebed2fd83d059 /drivers/media/video/saa5246a.c | |
parent | e12f0102ac81d660c9f801d0a0e10ccf4537a9de (diff) | |
parent | 6a94cb73064c952255336cc57731904174b2c58f (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts:
arch/x86/kernel/io_apic.c
Diffstat (limited to 'drivers/media/video/saa5246a.c')
-rw-r--r-- | drivers/media/video/saa5246a.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/media/video/saa5246a.c b/drivers/media/video/saa5246a.c index 4a21b8a6a709..f159441e9375 100644 --- a/drivers/media/video/saa5246a.c +++ b/drivers/media/video/saa5246a.c | |||
@@ -15,7 +15,7 @@ | |||
15 | * <richard.guenther@student.uni-tuebingen.de> | 15 | * <richard.guenther@student.uni-tuebingen.de> |
16 | * | 16 | * |
17 | * with changes by | 17 | * with changes by |
18 | * Alan Cox <Alan.Cox@linux.org> | 18 | * Alan Cox <alan@lxorguk.ukuu.org.uk> |
19 | * | 19 | * |
20 | * and | 20 | * and |
21 | * | 21 | * |
@@ -804,8 +804,7 @@ static inline int saa5246a_stop_dau(struct saa5246a_device *t, | |||
804 | * | 804 | * |
805 | * Returns 0 if successful | 805 | * Returns 0 if successful |
806 | */ | 806 | */ |
807 | static int do_saa5246a_ioctl(struct inode *inode, struct file *file, | 807 | static int do_saa5246a_ioctl(struct file *file, unsigned int cmd, void *arg) |
808 | unsigned int cmd, void *arg) | ||
809 | { | 808 | { |
810 | struct saa5246a_device *t = video_drvdata(file); | 809 | struct saa5246a_device *t = video_drvdata(file); |
811 | 810 | ||
@@ -953,7 +952,7 @@ static int saa5246a_ioctl(struct inode *inode, struct file *file, | |||
953 | 952 | ||
954 | cmd = vtx_fix_command(cmd); | 953 | cmd = vtx_fix_command(cmd); |
955 | mutex_lock(&t->lock); | 954 | mutex_lock(&t->lock); |
956 | err = video_usercopy(inode, file, cmd, arg, do_saa5246a_ioctl); | 955 | err = video_usercopy(file, cmd, arg, do_saa5246a_ioctl); |
957 | mutex_unlock(&t->lock); | 956 | mutex_unlock(&t->lock); |
958 | return err; | 957 | return err; |
959 | } | 958 | } |