aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/spi-nor
diff options
context:
space:
mode:
authorGravatar Boris Brezillon <boris.brezillon@bootlin.com> 2018-04-10 17:15:13 +0200
committerGravatar Boris Brezillon <boris.brezillon@bootlin.com> 2018-04-22 19:59:29 +0200
commit23566c3798f315058862564ab3d01882316054eb (patch)
treec6c0bfec92a0e8d0f599320b5c015a87ef1ede85 /drivers/mtd/spi-nor
parentmtd: rawnand: tango: Fix struct clk memory leak (diff)
downloadlinux-23566c3798f315058862564ab3d01882316054eb.tar.gz
linux-23566c3798f315058862564ab3d01882316054eb.tar.bz2
linux-23566c3798f315058862564ab3d01882316054eb.zip
mtd: nand: Fix nanddev_mtd_erase()
Commit e7bfb3fdbde3 ("mtd: Stop updating erase_info->state and calling mtd_erase_callback()") removed the einfo->state field and the MTD_ERASE_XXX macros. At the same time, the generic NAND layer was added and made sure to update the erase info state. It did not result in a build failure after merging the nand/for-4.17 branch in mtd/next because the generic NAND layer is not selected yet. Let's fix that before a config option starts selecting MTD_NAND_CORE. Fixes: e7bfb3fdbde3 ("mtd: Stop updating erase_info->state and calling mtd_erase_callback()") Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'drivers/mtd/spi-nor')
0 files changed, 0 insertions, 0 deletions