mtd/include/linux/mtd mtd.h,1.54,1.55
David Woodhouse
dwmw2 at infradead.org
Mon Aug 9 09:19:48 EDT 2004
- Previous message: mtd/drivers/mtd/nand diskonchip.c, 1.31, 1.32 nand_base.c, 1.114,
1.115
- Next message: mtd/drivers/mtd Kconfig, 1.5, 1.6 Makefile.common, 1.3,
1.4 mtdchar.c, 1.62, 1.63 mtdpart.c, 1.46, 1.47
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/mtd/include/linux/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv5601/include/linux/mtd
Modified Files:
mtd.h
Log Message:
Change alls driver to mtd_erase_callback, make partitions non-modular.
Index: mtd.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/mtd.h,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- mtd.h 15 Jul 2004 01:13:12 -0000 1.54
+++ mtd.h 9 Aug 2004 13:19:45 -0000 1.55
@@ -192,6 +192,17 @@
#define MTD_WRITEOOB(mtd, args...) (*(mtd->write_oob))(mtd, args)
#define MTD_SYNC(mtd) do { if (mtd->sync) (*(mtd->sync))(mtd); } while (0)
+
+#ifdef CONFIG_MTD_PARTITIONS
+void mtd_erase_callback(struct erase_info *instr);
+#else
+static inline void mtd_erase_callback(struct erase_info *instr)
+{
+ if (instr->callback)
+ instr->callback(instr);
+}
+#endif
+
/*
* Debugging macro and defines
*/
- Previous message: mtd/drivers/mtd/nand diskonchip.c, 1.31, 1.32 nand_base.c, 1.114,
1.115
- Next message: mtd/drivers/mtd Kconfig, 1.5, 1.6 Makefile.common, 1.3,
1.4 mtdchar.c, 1.62, 1.63 mtdpart.c, 1.46, 1.47
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the linux-mtd-cvs
mailing list