Skip to content

Commit

Permalink
media: v4l2-compat-ioctl32.c: add capabilities field to, v4l2_input32
Browse files Browse the repository at this point in the history
commit 037e086 upstream.

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
  • Loading branch information
Hans Verkuil authored and Ben Hutchings committed Mar 3, 2018
1 parent bd4e8dc commit f9b33d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/media/v4l2-core/v4l2-compat-ioctl32.c
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,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.
Expand Down

0 comments on commit f9b33d1

Please sign in to comment.