Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

V4L/DVB (5591): Saa7146: 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>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>

authored by

Adrian Bunk and committed by
Mauro Carvalho Chehab
32a1db42 ff01652c

+2 -1
-1
drivers/media/common/saa7146_fops.c
··· 307 307 return 0; 308 308 } 309 309 310 - int saa7146_video_do_ioctl(struct inode *inode, struct file *file, unsigned int cmd, void *arg); 311 310 static int fops_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg) 312 311 { 313 312 /*
+2
include/media/saa7146_vv.h
··· 216 216 extern struct saa7146_use_ops saa7146_video_uops; 217 217 int saa7146_start_preview(struct saa7146_fh *fh); 218 218 int saa7146_stop_preview(struct saa7146_fh *fh); 219 + int saa7146_video_do_ioctl(struct inode *inode, struct file *file, 220 + unsigned int cmd, void *arg); 219 221 220 222 /* from saa7146_vbi.c */ 221 223 extern struct saa7146_use_ops saa7146_vbi_uops;