diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2017-08-07 21:02:32 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-08-09 17:19:20 +0200 |
commit | 71bfcc6558444af7a434ece4b3f344581c65009e (patch) | |
tree | 2af2cd53693506cdd1dda2dcf38dd69b6f915d98 /drivers | |
parent | media: ov13858: Increase digital gain granularity, range (diff) | |
download | linux-71bfcc6558444af7a434ece4b3f344581c65009e.tar.xz linux-71bfcc6558444af7a434ece4b3f344581c65009e.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/i2c/vs6624.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/vs6624.c b/drivers/media/i2c/vs6624.c index f0741ab338df..560738213c00 100644 --- a/drivers/media/i2c/vs6624.c +++ b/drivers/media/i2c/vs6624.c @@ -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, |