mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
[MTD] NAND ECC hwctl function has no return value
Fix the broken prototype Signed-off-by: Thomas Gleixner <[email protected]>
This commit is contained in:
1 parent
4cbb9b80e1
commit
9a57d470fd
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user