projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a3688b
)
[MTD] Fix const assignment in the MTD command line partitioning driver
author
David Howells
<dhowells@redhat.com>
Tue, 8 Jul 2008 16:09:03 +0000
(17:09 +0100)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Fri, 11 Jul 2008 17:24:38 +0000
(18:24 +0100)
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>
drivers/mtd/cmdlinepart.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/cmdlinepart.c
b/drivers/mtd/cmdlinepart.c
index 68782ab2f0ded68b047de57afd132801652bc815..71bc07f149b7910f964a5bc9b4c678a149cfbdf9 100644
(file)
--- a/
drivers/mtd/cmdlinepart.c
+++ b/
drivers/mtd/cmdlinepart.c
@@
-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;
+ c
onst c
har *mtd_id = master->name;
/* parse command line */
if (!cmdline_parsed)