aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mtd/cmdlinepart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/cmdlinepart.c b/drivers/mtd/cmdlinepart.c
index 68782ab2f0de..71bc07f149b7 100644
--- a/drivers/mtd/cmdlinepart.c
+++ b/drivers/mtd/cmdlinepart.c
@@ -306,7 +306,7 @@ static int parse_cmdline_partitions(struct mtd_info *master,
306 unsigned long offset; 306 unsigned long offset;
307 int i; 307 int i;
308 struct cmdline_mtd_partition *part; 308 struct cmdline_mtd_partition *part;
309 char *mtd_id = master->name; 309 const char *mtd_id = master->name;
310 310
311 /* parse command line */ 311 /* parse command line */
312 if (!cmdline_parsed) 312 if (!cmdline_parsed)