lkml.org 
[lkml]   [2007]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.6 patch] proper prototype for saa7146_video_do_ioctl()
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>

---

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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-04-28 21:27    [W:0.031 / U:0.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site