From: Thomas Gleixner Date: Tue, 23 May 2006 13:58:23 +0000 (+0200) Subject: [MTD] NAND ECC hwctl function has no return value X-Git-Tag: v3.12-rc1~35880^2~58^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9a57d470fd4a77b9732fee97bed29c565c730af0;p=kernel%2Fkernel-generic.git [MTD] NAND ECC hwctl function has no return value Fix the broken prototype Signed-off-by: Thomas Gleixner --- diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index 4605258..6931376 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -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);