summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/mtd-nand-s3c2410.h
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2020-05-26 21:56:14 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2020-05-31 10:53:41 +0200
commitf66a6fd0dc7cc49c891a167937e161114f48a62e (patch)
treeab2e0edb345ccdfe9126ee10254a1b78dea545dd /include/linux/platform_data/mtd-nand-s3c2410.h
parent519494a9afabe68a0a86e4b3e264e3e607193a02 (diff)
mtd: rawnand: Avoid a typedef
In new code, the use of typedef is discouraged. Turn this one in the raw NAND core into a regular enumeration. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Link: https://lore.kernel.org/linux-mtd/20200526195633.11543-3-miquel.raynal@bootlin.com
Diffstat (limited to 'include/linux/platform_data/mtd-nand-s3c2410.h')
-rw-r--r--include/linux/platform_data/mtd-nand-s3c2410.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/platform_data/mtd-nand-s3c2410.h b/include/linux/platform_data/mtd-nand-s3c2410.h
index deb849bcf0ec..08675b16f9e1 100644
--- a/include/linux/platform_data/mtd-nand-s3c2410.h
+++ b/include/linux/platform_data/mtd-nand-s3c2410.h
@@ -49,7 +49,7 @@ struct s3c2410_platform_nand {
unsigned int ignore_unset_ecc:1;
- nand_ecc_modes_t ecc_mode;
+ enum nand_ecc_mode ecc_mode;
int nr_sets;
struct s3c2410_nand_set *sets;