Commit ccef4dcc5a1628dd662297b028f08e0b06bbf05e
Committed by
David Woodhouse
1 parent
afffeec9e0
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
mtd: mtdcore: use const qualifier
Be a bit stricter and add few more 'const' qualifiers. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
drivers/mtd/mtdpart.c
... | ... | @@ -694,7 +694,7 @@ |
694 | 694 | * Do not forget to update 'parse_mtd_partitions()' kerneldoc comment if you |
695 | 695 | * are changing this array! |
696 | 696 | */ |
697 | -static const char *default_mtd_part_types[] = { | |
697 | +static const char * const default_mtd_part_types[] = { | |
698 | 698 | "cmdlinepart", |
699 | 699 | "ofpart", |
700 | 700 | NULL |