mtd/drivers/mtd/devices mtdram.c,1.28,1.29 pmc551.c,1.20,1.21 slram.c,1.26,1.27
Joakim Tjernlund
jocke at infradead.org
Mon Oct 21 09:40:09 EDT 2002
Update of /home/cvs/mtd/drivers/mtd/devices
In directory phoenix.infradead.org:/tmp/cvs-serv13263/devices
Modified Files:
mtdram.c pmc551.c slram.c
Log Message:
Better point()/unpoint support impl. in cfi_cmdset_0001.c.
The other chip drivers should be able to copy the point()/unpoint()
support in cfi_cmdset_0001.c. Updated mtdpart.c pmc551.c slram.c mtdram.c
due to match the unpoint() prototype change.
Index: mtdram.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/mtdram.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- mtdram.c 20 Aug 2002 14:46:30 -0000 1.28
+++ mtdram.c 21 Oct 2002 13:40:06 -0000 1.29
@@ -71,7 +71,8 @@
return 0;
}
-static void ram_unpoint (struct mtd_info *mtd, u_char *addr)
+static void ram_unpoint (struct mtd_info *mtd, u_char *addr, loff_t from,
+ size_t len)
{
DEBUG(MTD_DEBUG_LEVEL2, "ram_unpoint\n");
}
Index: pmc551.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/pmc551.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- pmc551.c 5 Mar 2002 13:47:08 -0000 1.20
+++ pmc551.c 21 Oct 2002 13:40:07 -0000 1.21
@@ -216,7 +216,7 @@
}
-static void pmc551_unpoint (struct mtd_info *mtd, u_char *addr)
+static void pmc551_unpoint (struct mtd_info *mtd, u_char *addr, loff_t from, size_t len)
{
#ifdef CONFIG_MTD_PMC551_DEBUG
printk(KERN_DEBUG "pmc551_unpoint()\n");
Index: slram.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/slram.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- slram.c 17 May 2002 07:07:39 -0000 1.26
+++ slram.c 21 Oct 2002 13:40:07 -0000 1.27
@@ -79,7 +79,7 @@
int slram_erase(struct mtd_info *, struct erase_info *);
int slram_point(struct mtd_info *, loff_t, size_t, size_t *, u_char **);
-void slram_unpoint(struct mtd_info *, u_char *);
+void slram_unpoint(struct mtd_info *, u_char *, loff_t, size_t);
int slram_read(struct mtd_info *, loff_t, size_t, size_t *, u_char *);
int slram_write(struct mtd_info *, loff_t, size_t, size_t *, const u_char *);
@@ -120,7 +120,7 @@
return(0);
}
-void slram_unpoint(struct mtd_info *mtd, u_char *addr)
+void slram_unpoint(struct mtd_info *mtd, u_char *addr, loff_t from, size_t len)
{
}
More information about the linux-mtd-cvs
mailing list