aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/test-drivers/vimc/vimc-capture.c
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2020-04-21 15:57:39 +0200
committerMauro Carvalho Chehab <[email protected]>2020-05-06 12:08:45 +0200
commitb72f14ee7eb3e9e2f8a9c4cb807a1ec749a4c022 (patch)
tree3dd4f1cff3fda8c24311d878afe71c5ae2f43862 /drivers/media/test-drivers/vimc/vimc-capture.c
parentf645e6256bd1b12523b759fcc610861fb21c24c7 (diff)
media: pci: Fill v4l2_fmtdesc with designated initializers
Replace initialization of static const v4l2_fmtdesc instances that specify every struct member with designated initializers. This allows not zeroing the reserved fields explicitly, and will avoid a need to patch these drivers every time a reserved field is repurposed. Signed-off-by: Laurent Pinchart <[email protected]> Reviewed-by: Niklas Söderlund <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/test-drivers/vimc/vimc-capture.c')
0 files changed, 0 insertions, 0 deletions