Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Artem Bityutskiy and committed by
David Woodhouse
ccef4dcc afffeec9

+1 -1
+1 -1
drivers/mtd/mtdpart.c
··· 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