]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[MTD] NAND ECC hwctl function has no return value
authorThomas Gleixner <tglx@cruncher.tec.linutronix.de>
Tue, 23 May 2006 13:58:23 +0000 (15:58 +0200)
committerThomas Gleixner <tglx@cruncher.tec.linutronix.de>
Tue, 23 May 2006 13:58:23 +0000 (15:58 +0200)
Fix the broken prototype

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/mtd/nand.h

index 460525841a27e57345f44e16f828970f06c5bd42..6931376ed68da0869a4d662a5d7e6f040783e89f 100644 (file)
@@ -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);