Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9a57d470 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

[MTD] NAND ECC hwctl function has no return value



Fix the broken prototype

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 4cbb9b80
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -237,7 +237,7 @@ struct nand_ecc_ctrl {
	int			steps;
	int			size;
	int			bytes;
	int			(*hwctl)(struct mtd_info *mtd, int mode);
	void			(*hwctl)(struct mtd_info *mtd, int mode);
	int			(*calculate)(struct mtd_info *mtd,
					     const uint8_t *dat,
					     uint8_t *ecc_code);