From: Mauro Carvalho Chehab Date: Tue, 6 Mar 2018 15:34:44 +0000 (-0500) Subject: media: ov772x: constify ov772x_frame_intervals X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=7b69f2cb91319abdacf37be501db2eae45112a09;p=openwrt%2Fstaging%2Fblogic.git media: ov772x: constify ov772x_frame_intervals The values on this array never changes. Make it const. Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/i2c/ov772x.c b/drivers/media/i2c/ov772x.c index 16665af0c712..321105bb3161 100644 --- a/drivers/media/i2c/ov772x.c +++ b/drivers/media/i2c/ov772x.c @@ -531,7 +531,7 @@ static const struct ov772x_win_size ov772x_win_sizes[] = { /* * frame rate settings lists */ -static unsigned int ov772x_frame_intervals[] = { 5, 10, 15, 20, 30, 60 }; +static const unsigned int ov772x_frame_intervals[] = { 5, 10, 15, 20, 30, 60 }; /* * general function