diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-06-20 08:19:56 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-06-20 08:50:43 -0300 |
commit | 3bd30b24efa6b3339e4344a7db39e594f06d5128 (patch) | |
tree | 86185459b87a7bae08195a34b93fae64b3cbcceb | |
parent | 4ac299414bfc0c796c22810854f738c280bdeaa0 (diff) | |
download | linux-3bd30b24efa6b3339e4344a7db39e594f06d5128.tar.bz2 |
[media] ov13858: remove duplicated const declaration
As reported by gcc:
drivers/media/i2c/ov13858.c:953:20: warning: duplicate const
drivers/media/i2c/ov13858.c:953:14: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
static const const s64 link_freq_menu_items[OV13858_NUM_OF_LINK_FREQS] = {
^~~~~
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
-rw-r--r-- | drivers/media/i2c/ov13858.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/ov13858.c b/drivers/media/i2c/ov13858.c index 7adf20300cf9..86550d8ddfee 100644 --- a/drivers/media/i2c/ov13858.c +++ b/drivers/media/i2c/ov13858.c @@ -950,7 +950,7 @@ static const char * const ov13858_test_pattern_menu[] = { #define OV13858_LINK_FREQ_INDEX_1 1 /* Menu items for LINK_FREQ V4L2 control */ -static const const s64 link_freq_menu_items[OV13858_NUM_OF_LINK_FREQS] = { +static const s64 link_freq_menu_items[OV13858_NUM_OF_LINK_FREQS] = { OV13858_LINK_FREQ_1080MBPS, OV13858_LINK_FREQ_540MBPS }; |