Commit ccef4dcc authored by Artem Bityutskiy's avatar Artem Bityutskiy Committed by David Woodhouse

mtd: mtdcore: use const qualifier

Be a bit stricter and add few more 'const' qualifiers.
Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent afffeec9
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment