mtd/drivers/mtd nftlcore.c,1.89,1.90
David Woodhouse
dwmw2 at infradead.org
Wed May 21 09:18:24 EDT 2003
Update of /home/cvs/mtd/drivers/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv20874
Modified Files:
nftlcore.c
Log Message:
Fix readonly build
Index: nftlcore.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/nftlcore.c,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -r1.89 -r1.90
--- nftlcore.c 18 May 2003 22:29:47 -0000 1.89
+++ nftlcore.c 21 May 2003 13:18:21 -0000 1.90
@@ -737,7 +737,9 @@
.part_bits = NFTL_PARTN_BITS,
.ioctl = nftl_ioctl,
.readsect = nftl_readblock,
+#ifdef CONFIG_NFTL_RW
.writesect = nftl_writeblock,
+#endif
.add_mtd = nftl_add_mtd,
.remove_dev = nftl_remove_dev,
.owner = THIS_MODULE,
More information about the linux-mtd-cvs
mailing list