Commit 36560d25 authored by David Howells's avatar David Howells Committed by David Woodhouse

[MTD] Fix const assignment in the MTD command line partitioning driver

Fix const to non-const pointer assignment in the MTD command line partitioning
driver.
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 3a3688b6
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment