diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mtd/nand.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index 460525841a27..6931376ed68d 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h | |||
@@ -237,7 +237,7 @@ struct nand_ecc_ctrl { | |||
237 | int steps; | 237 | int steps; |
238 | int size; | 238 | int size; |
239 | int bytes; | 239 | int bytes; |
240 | int (*hwctl)(struct mtd_info *mtd, int mode); | 240 | void (*hwctl)(struct mtd_info *mtd, int mode); |
241 | int (*calculate)(struct mtd_info *mtd, | 241 | int (*calculate)(struct mtd_info *mtd, |
242 | const uint8_t *dat, | 242 | const uint8_t *dat, |
243 | uint8_t *ecc_code); | 243 | uint8_t *ecc_code); |