diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2020-09-30 01:01:15 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2020-12-10 22:37:29 +0100 |
commit | e5acf9c862974041f7b2f581d1a40ccd29769add (patch) | |
tree | 505a34c1588fcede35e18c18b1aa23d5ea1f34c2 /arch/arm/mach-s3c/mach-gta02.c | |
parent | cbd87780bed580b585d2992f29077ac44950cb66 (diff) | |
download | linux-stable-e5acf9c862974041f7b2f581d1a40ccd29769add.tar.gz linux-stable-e5acf9c862974041f7b2f581d1a40ccd29769add.tar.bz2 linux-stable-e5acf9c862974041f7b2f581d1a40ccd29769add.zip |
mtd: nand: ecc-hamming: Move Hamming code to the generic NAND layer
Hamming 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-12-miquel.raynal@bootlin.com
Diffstat (limited to 'arch/arm/mach-s3c/mach-gta02.c')
-rw-r--r-- | arch/arm/mach-s3c/mach-gta02.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c/mach-gta02.c b/arch/arm/mach-s3c/mach-gta02.c index 3c75c7d112ea..aec8b451c016 100644 --- a/arch/arm/mach-s3c/mach-gta02.c +++ b/arch/arm/mach-s3c/mach-gta02.c @@ -37,7 +37,7 @@ #include <linux/mtd/mtd.h> #include <linux/mtd/rawnand.h> -#include <linux/mtd/nand_ecc.h> +#include <linux/mtd/nand-ecc-sw-hamming.h> #include <linux/mtd/partitions.h> #include <linux/mtd/physmap.h> |