diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2020-09-30 02:01:06 +0300 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2020-11-30 11:27:32 +0300 |
commit | cdbe8df5e28e452c232c0c16b205edfd390d28e5 (patch) | |
tree | b01d0506143b4b00b08ebf30e33767b1dfaae4d5 /drivers/mtd/nand/raw/omap2.c | |
parent | 51e7bf4534da678da27c0f51e7ff21804fae88ca (diff) | |
download | linux-cdbe8df5e28e452c232c0c16b205edfd390d28e5.tar.xz |
mtd: nand: ecc-bch: Move BCH code to the generic NAND layer
BCH ECC code might be later re-used by the SPI NAND layer.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200929230124.31491-3-miquel.raynal@bootlin.com
Diffstat (limited to 'drivers/mtd/nand/raw/omap2.c')
-rw-r--r-- | drivers/mtd/nand/raw/omap2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/raw/omap2.c b/drivers/mtd/nand/raw/omap2.c index 512f60780a50..0ef209e1cd87 100644 --- a/drivers/mtd/nand/raw/omap2.c +++ b/drivers/mtd/nand/raw/omap2.c @@ -23,7 +23,7 @@ #include <linux/of.h> #include <linux/of_device.h> -#include <linux/mtd/nand_bch.h> +#include <linux/mtd/nand-ecc-sw-bch.h> #include <linux/platform_data/elm.h> #include <linux/omap-gpmc.h> |