mtd/drivers/mtd/maps epxa10db-flash.c,1.2,1.3
cdavies at infradead.org
cdavies at infradead.org
Thu Jul 4 06:40:38 EDT 2002
Update of /home/cvs/mtd/drivers/mtd/maps
In directory phoenix.infradead.org:/tmp/cvs-serv17338/drivers/mtd/maps
Modified Files:
epxa10db-flash.c
Log Message:
Fixed a couple of minor bugs
CVS ----------------------------------------------------------------------
Index: epxa10db-flash.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/epxa10db-flash.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- epxa10db-flash.c 19 Dec 2001 13:00:19 -0000 1.2
+++ epxa10db-flash.c 4 Jul 2002 10:40:35 -0000 1.3
@@ -123,7 +123,7 @@
for (i=0; i<mymtd->numeraseregions;i++){
int j;
for(j=0;j<mymtd->eraseregions[i].numblocks;j++){
- mymtd->unlock(mymtd,mymtd->eraseregions[i].offset + j * mymtd->eraseregions[i].erasesize,4);
+ mymtd->unlock(mymtd,mymtd->eraseregions[i].offset + j * mymtd->eraseregions[i].erasesize,mymtd->eraseregions[i].erasesize);
}
}
@@ -205,6 +205,7 @@
parts[i].size = FLASH_SIZE-0x00400000;
parts[i].offset = 0x00400000;
parts[i].mask_flags = 0;
+ parts[i].mtdp = 0;
out:
*pparts = parts;
More information about the linux-mtd-cvs
mailing list