summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2018-03-06 18:34:44 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-03-06 18:34:44 +0300
commit7b69f2cb91319abdacf37be501db2eae45112a09 (patch)
treeefe0988e0bfdc2363dbbe2aa7a09c5487fa55436
parent1844f49861cbd5dd8c289d3c4c8b4a76a4fe2d37 (diff)
downloadlinux-7b69f2cb91319abdacf37be501db2eae45112a09.tar.xz
media: ov772x: constify ov772x_frame_intervals
The values on this array never changes. Make it const. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
-rw-r--r--drivers/media/i2c/ov772x.c2
1 files changed, 1 insertions, 1 deletions
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