mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: michael@mihu.de, mchehab@infradead.org
Cc: v4l-dvb-maintainer@linuxtv.org, linux-kernel@vger.kernel.org
Subject: [2.6 patch] proper prototype for saa7146_video_do_ioctl()
Date: Sat, 28 Apr 2007 21:20:05 +0200	[thread overview]
Message-ID: <20070428192005.GT3468@stusta.de> (raw)

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)
 {
 /*


                 reply	other threads:[~2007-04-28 19:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070428192005.GT3468@stusta.de \
    --to=bunk@stusta.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab@infradead.org \
    --cc=michael@mihu.de \
    --cc=v4l-dvb-maintainer@linuxtv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome