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

[MTD] NAND ECC hwctl function has no return value

Fix the broken prototype
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 4cbb9b80
...@@ -237,7 +237,7 @@ struct nand_ecc_ctrl { ...@@ -237,7 +237,7 @@ struct nand_ecc_ctrl {
int steps; int steps;
int size; int size;
int bytes; int bytes;
int (*hwctl)(struct mtd_info *mtd, int mode); void (*hwctl)(struct mtd_info *mtd, int mode);
int (*calculate)(struct mtd_info *mtd, int (*calculate)(struct mtd_info *mtd,
const uint8_t *dat, const uint8_t *dat,
uint8_t *ecc_code); uint8_t *ecc_code);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment