git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
drivers
/
mtd
/
devices
/
mtdram.c
diff --git
a/drivers/mtd/devices/mtdram.c
b/drivers/mtd/devices/mtdram.c
index
1443117
..
e427c82
100644
(file)
--- a/
drivers/mtd/devices/mtdram.c
+++ b/
drivers/mtd/devices/mtdram.c
@@
-10,7
+10,6
@@
*
*/
*
*/
-#include <linux/config.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/ioport.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/ioport.h>
@@
-106,6
+105,7
@@
int mtdram_init_device(struct mtd_info *mtd, void *mapped_address,
mtd->type = MTD_RAM;
mtd->flags = MTD_CAP_RAM;
mtd->size = size;
mtd->type = MTD_RAM;
mtd->flags = MTD_CAP_RAM;
mtd->size = size;
+ mtd->writesize = 1;
mtd->erasesize = MTDRAM_ERASE_SIZE;
mtd->priv = mapped_address;
mtd->erasesize = MTDRAM_ERASE_SIZE;
mtd->priv = mapped_address;