forked from Minki/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>
This commit is contained in:
parent
afffeec9e0
commit
ccef4dcc5a
@ -694,7 +694,7 @@ EXPORT_SYMBOL_GPL(deregister_mtd_parser);
|
||||
* Do not forget to update 'parse_mtd_partitions()' kerneldoc comment if you
|
||||
* are changing this array!
|
||||
*/
|
||||
static const char *default_mtd_part_types[] = {
|
||||
static const char * const default_mtd_part_types[] = {
|
||||
"cmdlinepart",
|
||||
"ofpart",
|
||||
NULL
|
||||
|
Loading…
Reference in New Issue
Block a user