mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
[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: David Howells <dhowells@redhat.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
parent
3a3688b6af
commit
36560d255b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue