summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2013-03-12 10:51:35 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2013-04-05 13:04:27 +0100
commitccef4dcc5a1628dd662297b028f08e0b06bbf05e (patch)
tree81c01960641aa68d24a9da573a1cd28d6b3a9a23
parentafffeec9e0cf991e5cf697abdb89123ec708f097 (diff)
downloadop-kernel-dev-ccef4dcc5a1628dd662297b028f08e0b06bbf05e.zip
op-kernel-dev-ccef4dcc5a1628dd662297b028f08e0b06bbf05e.tar.gz
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>
-rw-r--r--drivers/mtd/mtdpart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/mtdpart.c b/drivers/mtd/mtdpart.c
index 9ee0911..3014933 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
OpenPOWER on IntegriCloud