summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Endriss <o.endriss@gmx.de>2007-05-02 03:13:47 +0200
committerOliver Endriss <o.endriss@gmx.de>2007-05-02 03:13:47 +0200
commit43925e774ee9f5e800ee3bf3a762b3667e030e90 (patch)
tree84d8220035970b60866481e42f657566d3992566
parent83e5240fde7d7978e91ab7f3e555aff235bda5ff (diff)
downloadmediapointer-dvb-s2-43925e774ee9f5e800ee3bf3a762b3667e030e90.tar.gz
mediapointer-dvb-s2-43925e774ee9f5e800ee3bf3a762b3667e030e90.tar.bz2
saa7146: proper prototype for saa7146_video_do_ioctl()
From: Adrian Bunk <bunk@stusta.de> 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>
-rw-r--r--linux/drivers/media/common/saa7146_fops.c1
-rw-r--r--linux/include/media/saa7146_vv.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/common/saa7146_fops.c b/linux/drivers/media/common/saa7146_fops.c
index 67d4d1a51..33257be76 100644
--- a/linux/drivers/media/common/saa7146_fops.c
+++ b/linux/drivers/media/common/saa7146_fops.c
@@ -308,7 +308,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)
{
/*
diff --git a/linux/include/media/saa7146_vv.h b/linux/include/media/saa7146_vv.h
index 50e33b0e9..cce20ed5c 100644
--- a/linux/include/media/saa7146_vv.h
+++ b/linux/include/media/saa7146_vv.h
@@ -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;