[MTD] NAND ECC hwctl function has no return value
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Wed May 24 05:59:02 EDT 2006
Commit: 9a57d470fd4a77b9732fee97bed29c565c730af0
Parent: 4cbb9b80e171107c6c34116283fe38e5a396c68b
Author: Thomas Gleixner <tglx at cruncher.tec.linutronix.de>
AuthorDate: Tue May 23 15:58:23 2006 +0200
Commit: Thomas Gleixner <tglx at cruncher.tec.linutronix.de>
CommitDate: Tue May 23 15:58:23 2006 +0200
[MTD] NAND ECC hwctl function has no return value
Fix the broken prototype
Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
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 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);
More information about the linux-mtd-cvs
mailing list