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: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
bfced6d1ec
commit
71bfcc6558
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue