mtd/drivers/mtd cmdlinepart.c,1.6,1.7
David Woodhouse
dwmw2 at infradead.org
Fri May 16 12:06:11 EDT 2003
Update of /home/cvs/mtd/drivers/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv24869/drivers/mtd
Modified Files:
cmdlinepart.c
Log Message:
get mtd_id from master device name
Index: cmdlinepart.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/cmdlinepart.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- cmdlinepart.c 16 Nov 2002 01:37:39 -0000 1.6
+++ cmdlinepart.c 16 May 2003 16:06:09 -0000 1.7
@@ -293,11 +293,12 @@
*/
int parse_cmdline_partitions(struct mtd_info *master,
struct mtd_partition **pparts,
- const char *mtd_id)
+ unsigned long origin)
{
unsigned long offset;
int i;
struct cmdline_mtd_partition *part;
+ char *mtd_id = master->name;
if(!cmdline)
return -EINVAL;
More information about the linux-mtd-cvs
mailing list