This patch adds a proper prototype for saa7146_video_do_ioctl() in
include/media/saa7146_vv.h
Signed-off-by: Adrian Bunk <[email protected]>
---
drivers/media/common/saa7146_fops.c | 1 -
include/media/saa7146_vv.h | 2 ++
2 files changed, 2 insertions(+), 1 deletion(-)
--- linux-2.6.21-rc7-mm2/include/media/saa7146_vv.h.old 2007-04-28 15:04:39.000000000 +0200
+++ linux-2.6.21-rc7-mm2/include/media/saa7146_vv.h 2007-04-28 15:05:11.000000000 +0200
@@ -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;
--- linux-2.6.21-rc7-mm2/drivers/media/common/saa7146_fops.c.old 2007-04-28 15:05:32.000000000 +0200
+++ linux-2.6.21-rc7-mm2/drivers/media/common/saa7146_fops.c 2007-04-28 15:05:44.000000000 +0200
@@ -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)
{
/*
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]