* [2.6 patch] proper prototype for saa7146_video_do_ioctl()
@ 2007-04-28 19:20 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2007-04-28 19:20 UTC (permalink / raw)
To: michael, mchehab; +Cc: v4l-dvb-maintainer, linux-kernel
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)
{
/*
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-04-28 19:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-28 19:20 [2.6 patch] proper prototype for saa7146_video_do_ioctl() Adrian Bunk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.