diff options
author | Alessio Igor Bogani <alessio.bogani@elettra.eu> | 2014-12-11 12:38:06 +0300 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-01-10 02:31:56 +0300 |
commit | 106effbe18fa481c9355604dafe8095c9e418319 (patch) | |
tree | 5d526712e7ac7b0aaa5c10ac0bccc9b1ba75be86 /drivers | |
parent | 0c45e6016f1297bc71ed677697bacc111a63126d (diff) | |
download | linux-106effbe18fa481c9355604dafe8095c9e418319.tar.xz |
mtd: map_ram: Enable mtdoops
Signed-off-by: Alessio Igor Bogani <alessio.bogani@elettra.eu>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mtd/chips/map_ram.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |