Skip to content

Commit ccef4dc

Browse files
dedekindDavid Woodhouse
authored andcommitted
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>
1 parent afffeec commit ccef4dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/mtd/mtdpart.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ EXPORT_SYMBOL_GPL(deregister_mtd_parser);
694694
* Do not forget to update 'parse_mtd_partitions()' kerneldoc comment if you
695695
* are changing this array!
696696
*/
697-
static const char *default_mtd_part_types[] = {
697+
static const char * const default_mtd_part_types[] = {
698698
"cmdlinepart",
699699
"ofpart",
700700
NULL

0 commit comments

Comments
 (0)