From: Alessio Igor Bogani Date: Thu, 11 Dec 2014 09:38:06 +0000 (+0100) Subject: mtd: map_ram: Enable mtdoops X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=106effbe18fa481c9355604dafe8095c9e418319;p=linux-beck.git mtd: map_ram: Enable mtdoops Signed-off-by: Alessio Igor Bogani Signed-off-by: Brian Norris --- diff --git a/drivers/mtd/chips/map_ram.c b/drivers/mtd/chips/map_ram.c index 991c2a1c05d3..afb43d5e1782 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;