[MTD] NAND ECC hwctl function has no return value

Fix the broken prototype

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Thomas Gleixner 2006-05-23 15:58:23 +02:00
parent 4cbb9b80e1
commit 9a57d470fd
1 changed files with 1 additions and 1 deletions

View File

@ -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);