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
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
drivers
/
mtd
/
devices
/
mtdram.c
diff --git
a/drivers/mtd/devices/mtdram.c
b/drivers/mtd/devices/mtdram.c
index
e427c82
..
1443117
100644
(file)
--- a/
drivers/mtd/devices/mtdram.c
+++ b/
drivers/mtd/devices/mtdram.c
@@
-10,6
+10,7
@@
*
*/
*
*/
+#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>
@@
-105,7
+106,6
@@
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;