aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/devices/mtdram.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/devices/mtdram.c')
-rw-r--r--drivers/mtd/devices/mtdram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/devices/mtdram.c b/drivers/mtd/devices/mtdram.c
index 1443117fd8f4..f284c9670be8 100644
--- a/drivers/mtd/devices/mtdram.c
+++ b/drivers/mtd/devices/mtdram.c
@@ -103,7 +103,7 @@ int mtdram_init_device(struct mtd_info *mtd, void *mapped_address,
103 103
104 /* Setup the MTD structure */ 104 /* Setup the MTD structure */
105 mtd->name = name; 105 mtd->name = name;
106 mtd->type = MTD_RAM; 106 mtd->type = MTD_GENERIC_TYPE;
107 mtd->flags = MTD_CAP_RAM; 107 mtd->flags = MTD_CAP_RAM;
108 mtd->size = size; 108 mtd->size = size;
109 mtd->erasesize = MTDRAM_ERASE_SIZE; 109 mtd->erasesize = MTDRAM_ERASE_SIZE;