aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@cruncher.tec.linutronix.de>2006-05-23 15:58:23 +0200
committerThomas Gleixner <tglx@cruncher.tec.linutronix.de>2006-05-23 15:58:23 +0200
commit9a57d470fd4a77b9732fee97bed29c565c730af0 (patch)
tree1fa237ba77cbb94049254c27ca9536e2aecd8f5b /include/linux/mtd
parentMerge branch 'master' of /home/tglx/work/kernel/git/mtd-2.6/ (diff)
downloadlinux-dev-9a57d470fd4a77b9732fee97bed29c565c730af0.tar.xz
linux-dev-9a57d470fd4a77b9732fee97bed29c565c730af0.zip
[MTD] NAND ECC hwctl function has no return value
Fix the broken prototype Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/mtd')
-rw-r--r--include/linux/mtd/nand.h2
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 {
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);