]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/mtd/cmdlinepart.c
[MTD] [NOR] drivers/mtd/chips/jedec_probe.c: fix Am29DL800BB device ID
[karo-tx-linux.git] / drivers / mtd / cmdlinepart.c
index 68782ab2f0ded68b047de57afd132801652bc815..71bc07f149b7910f964a5bc9b4c678a149cfbdf9 100644 (file)
@@ -306,7 +306,7 @@ static int parse_cmdline_partitions(struct mtd_info *master,
        unsigned long offset;
        int i;
        struct cmdline_mtd_partition *part;
-       char *mtd_id = master->name;
+       const char *mtd_id = master->name;
 
        /* parse command line */
        if (!cmdline_parsed)