diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2013-03-12 04:51:35 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2013-04-05 08:04:27 -0400 |
commit | ccef4dcc5a1628dd662297b028f08e0b06bbf05e (patch) | |
tree | 81c01960641aa68d24a9da573a1cd28d6b3a9a23 /drivers/mtd/mtdpart.c | |
parent | afffeec9e0cf991e5cf697abdb89123ec708f097 (diff) |
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>
Diffstat (limited to 'drivers/mtd/mtdpart.c')
-rw-r--r-- | drivers/mtd/mtdpart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/mtdpart.c b/drivers/mtd/mtdpart.c index 9ee0911025c8..301493382cd0 100644 --- a/drivers/mtd/mtdpart.c +++ b/drivers/mtd/mtdpart.c | |||
@@ -694,7 +694,7 @@ EXPORT_SYMBOL_GPL(deregister_mtd_parser); | |||
694 | * Do not forget to update 'parse_mtd_partitions()' kerneldoc comment if you | 694 | * Do not forget to update 'parse_mtd_partitions()' kerneldoc comment if you |
695 | * are changing this array! | 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 | "cmdlinepart", | 698 | "cmdlinepart", |
699 | "ofpart", | 699 | "ofpart", |
700 | NULL | 700 | NULL |