Commit 037e0865 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

media: v4l2-compat-ioctl32.c: add capabilities field to, v4l2_input32

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: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 67c672ec
...@@ -630,7 +630,8 @@ struct v4l2_input32 { ...@@ -630,7 +630,8 @@ struct v4l2_input32 {
__u32 tuner; /* Associated tuner */ __u32 tuner; /* Associated tuner */
compat_u64 std; compat_u64 std;
__u32 status; __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. /* The 64-bit v4l2_input struct has extra padding at the end of the struct.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment