diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2013-03-12 10:51:35 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2013-04-05 13:04:27 +0100 |
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 9ee0911025c..301493382cd 100644 --- a/drivers/mtd/mtdpart.c +++ b/drivers/mtd/mtdpart.c @@ -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 |