Commit 71bfcc65 authored by Julia Lawall's avatar Julia Lawall Committed by Mauro Carvalho Chehab

media: vs6624: constify vs6624_default_fmt

The structure vs6624_default_fmt is only copied into another
structure field, so it can be const.

Done with the help of Coccinelle.
Signed-off-by: default avatarJulia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent bfced6d1
......@@ -58,7 +58,7 @@ static const struct vs6624_format {
},
};
static struct v4l2_mbus_framefmt vs6624_default_fmt = {
static const struct v4l2_mbus_framefmt vs6624_default_fmt = {
.width = VGA_WIDTH,
.height = VGA_HEIGHT,
.code = MEDIA_BUS_FMT_UYVY8_2X8,
......
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