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
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user