The patch number 10136 was added via Hans Verkuil <[email protected]>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        [email protected]

------

From: Hans Verkuil  <[email protected]>
v4l2 doc: update v4l2-framework.txt


Mention the new v4l2_file_operations struct.

Priority: normal

Signed-off-by: Hans Verkuil <[email protected]>


---

 linux/Documentation/video4linux/v4l2-framework.txt |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff -r d615e9cdfbdd -r ffe112f306a3 
linux/Documentation/video4linux/v4l2-framework.txt
--- a/linux/Documentation/video4linux/v4l2-framework.txt        Tue Dec 30 
10:58:20 2008 +0100
+++ b/linux/Documentation/video4linux/v4l2-framework.txt        Tue Dec 23 
17:42:25 2008 +0100
@@ -392,13 +392,16 @@ You should also set these fields:
 
 - v4l2_dev: set to the v4l2_device parent device.
 - name: set to something descriptive and unique.
-- fops: set to the file_operations struct.
+- fops: set to the v4l2_file_operations struct.
 - ioctl_ops: if you use the v4l2_ioctl_ops to simplify ioctl maintenance
   (highly recommended to use this and it might become compulsory in the
   future!), then set this to your v4l2_ioctl_ops struct.
 
-If you use v4l2_ioctl_ops, then you should set .unlocked_ioctl to
-__video_ioctl2 or .ioctl to video_ioctl2 in your file_operations struct.
+If you use v4l2_ioctl_ops, then you should set either .unlocked_ioctl or
+.ioctl to video_ioctl2 in your v4l2_file_operations struct.
+
+The v4l2_file_operations struct is a subset of file_operations. The main
+difference is that the inode argument is omitted since it is never used.
 
 
 video_device registration


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/ffe112f306a32376f217ac2a94eb8b34a8b8499f

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to