Skip to contentSkip to conversation

proper prototype for saa7146_video_do_ioctl()

PATCH New Adrian Bunk 1 participant 1 message Apr 28, 2007 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 proper prototype for saa7146_video_do_ioctl()

This patch adds a proper prototype for saa7146_video_do_ioctl() in include/media/saa7146_vv.h

---

 drivers/media/common/saa7146_fops.c |    1 -
 include/media/saa7146_vv.h          |    2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)
include/media/saa7146_vv.h renamed from include/media/saa7146_vv.h.old +2 -0
@@ -216,6 +216,8 @@
 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;
drivers/media/common/saa7146_fops.c renamed from drivers/media/common/saa7146_fops.c.old +0 -1
@@ -307,7 +307,6 @@
 	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)
 {
 /*