提交 36560d25 编写于 作者: D David Howells 提交者: 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: NDavid Howells <dhowells@redhat.com>
Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册