]> err.no Git - linux-2.6/commitdiff
V4L/DVB (5591): Saa7146: proper prototype for saa7146_video_do_ioctl()
authorAdrian Bunk <bunk@stusta.de>
Wed, 2 May 2007 01:13:47 +0000 (22:13 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 9 May 2007 13:12:41 +0000 (10:12 -0300)
This patch adds a proper prototype for saa7146_video_do_ioctl() in
include/media/saa7146_vv.h.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/common/saa7146_fops.c
include/media/saa7146_vv.h

index c18a5da6493470ae3e3af67342e08650970441e4..b4770aecc01db56afd363b9fcedbdfe49be90a20 100644 (file)
@@ -307,7 +307,6 @@ static int fops_release(struct inode *inode, struct file *file)
        return 0;
 }
 
-int saa7146_video_do_ioctl(struct inode *inode, struct file *file, unsigned int cmd, void *arg);
 static int fops_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg)
 {
 /*
index 50e33b0e934984c543651bf4cb1fd8b3af550c87..cce20ed5cf6c221ab61360f05436fd399067d698 100644 (file)
@@ -216,6 +216,8 @@ void saa7146_set_gpio(struct saa7146_dev *saa, u8 pin, u8 data);
 extern struct saa7146_use_ops saa7146_video_uops;
 int saa7146_start_preview(struct saa7146_fh *fh);
 int saa7146_stop_preview(struct saa7146_fh *fh);
+int saa7146_video_do_ioctl(struct inode *inode, struct file *file,
+                          unsigned int cmd, void *arg);
 
 /* from saa7146_vbi.c */
 extern struct saa7146_use_ops saa7146_vbi_uops;