From: Artem Bityutskiy Date: Tue, 12 Mar 2013 08:51:35 +0000 (+0200) Subject: mtd: mtdcore: use const qualifier X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ccef4dcc5a1628dd662297b028f08e0b06bbf05e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git mtd: mtdcore: use const qualifier Be a bit stricter and add few more 'const' qualifiers. Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- 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