diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2013-03-12 09:51:35 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2013-04-05 14:04:27 +0200 |
commit | ccef4dcc5a1628dd662297b028f08e0b06bbf05e (patch) | |
tree | 81c01960641aa68d24a9da573a1cd28d6b3a9a23 /drivers/mtd/mtdpart.c | |
parent | mtd: devices: add const qualifiers (diff) | |
download | linux-ccef4dcc5a1628dd662297b028f08e0b06bbf05e.tar.xz linux-ccef4dcc5a1628dd662297b028f08e0b06bbf05e.zip |
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); * 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 |