mtd: rawnand: Move the nand_ecc_algo enum to the generic NAND layer
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 27 Aug 2020 08:51:51 +0000 (10:51 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 27 Aug 2020 08:56:00 +0000 (10:56 +0200)
commitf2f64c1e924131878179da64794d9cb18ee5c827
treef0cf2dad45de8077d0163c157eccd58853c37336
parente0a564ae0a4bc1bcf156d468955b27d3606e8253
mtd: rawnand: Move the nand_ecc_algo enum to the generic NAND layer

This enumeration is generic and will be reused NAND-wide.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200827085208.16276-4-miquel.raynal@bootlin.com
include/linux/mtd/nand.h
include/linux/mtd/rawnand.h