mtd/drivers/mtd/devices block2mtd.c,1.30,1.31

David Woodhouse dwmw2 at infradead.org
Thu Feb 9 11:12:43 EST 2006


Update of /home/cvs/mtd/drivers/mtd/devices
In directory phoenix.infradead.org:/tmp/cvs-serv28801/drivers/mtd/devices

Modified Files:
	block2mtd.c 
Log Message:
BLOCK type

Index: block2mtd.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/block2mtd.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- block2mtd.c	29 Nov 2005 14:48:32 -0000	1.30
+++ block2mtd.c	9 Feb 2006 16:12:40 -0000	1.31
@@ -323,7 +323,7 @@
 
 	dev->mtd.size = dev->blkdev->bd_inode->i_size & PAGE_MASK;
 	dev->mtd.erasesize = erase_size;
-	dev->mtd.type = MTD_RAM;
+	dev->mtd.type = MTD_BLOCK;
 	dev->mtd.flags = MTD_CAP_RAM;
 	dev->mtd.erase = block2mtd_erase;
 	dev->mtd.write = block2mtd_write;





More information about the linux-mtd-cvs mailing list