mtd: map_ram: Enable mtdoops
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Mon Feb 16 18:59:03 PST 2015
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=106effbe18fa481c9355604dafe8095c9e418319
Commit: 106effbe18fa481c9355604dafe8095c9e418319
Parent: 0c45e6016f1297bc71ed677697bacc111a63126d
Author: Alessio Igor Bogani <alessio.bogani at elettra.eu>
AuthorDate: Thu Dec 11 10:38:06 2014 +0100
Committer: Brian Norris <computersforpeace at gmail.com>
CommitDate: Fri Jan 9 15:31:56 2015 -0800
mtd: map_ram: Enable mtdoops
Signed-off-by: Alessio Igor Bogani <alessio.bogani at elettra.eu>
Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
drivers/mtd/chips/map_ram.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mtd/chips/map_ram.c b/drivers/mtd/chips/map_ram.c
index 991c2a1..afb43d5 100644
--- a/drivers/mtd/chips/map_ram.c
+++ b/drivers/mtd/chips/map_ram.c
@@ -68,6 +68,7 @@ static struct mtd_info *map_ram_probe(struct map_info *map)
mtd->_get_unmapped_area = mapram_unmapped_area;
mtd->_read = mapram_read;
mtd->_write = mapram_write;
+ mtd->_panic_write = mapram_write;
mtd->_sync = mapram_nop;
mtd->flags = MTD_CAP_RAM;
mtd->writesize = 1;
More information about the linux-mtd-cvs
mailing list