Skip to content

Commit

Permalink
[MTD] NAND ECC hwctl function has no return value
Browse files Browse the repository at this point in the history
Fix the broken prototype

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Thomas Gleixner committed May 23, 2006
1 parent 4cbb9b8 commit 9a57d47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/mtd/nand.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9a57d47

Please sign in to comment.