media: v4l2-compat-ioctl32.c: add capabilities field to, v4l2_input32
authorHans Verkuil <hverkuil@xs4all.nl>
Fri, 4 Aug 2017 11:25:06 +0000 (07:25 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 20 Aug 2017 12:11:55 +0000 (08:11 -0400)
The v4l2_input32 struct wasn't updated when this field was added.
It didn't cause a failure in the compat code, but it is better to
keep it in sync with v4l2_input to avoid confusion.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/v4l2-core/v4l2-compat-ioctl32.c

index af8b4c5b0efa71660275155e21656aa98bd947c5..821f2aa299ae53bc10e75bc788c9dca0ac666d63 100644 (file)
@@ -630,7 +630,8 @@ struct v4l2_input32 {
        __u32        tuner;             /*  Associated tuner */
        compat_u64   std;
        __u32        status;
-       __u32        reserved[4];
+       __u32        capabilities;
+       __u32        reserved[3];
 };
 
 /* The 64-bit v4l2_input struct has extra padding at the end of the struct.