projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cbb9b8
)
[MTD] NAND ECC hwctl function has no return value
author
Thomas Gleixner
<
[email protected]
>
Tue, 23 May 2006 13:58:23 +0000
(15:58 +0200)
committer
Thomas Gleixner
<
[email protected]
>
Tue, 23 May 2006 13:58:23 +0000
(15:58 +0200)
Fix the broken prototype
Signed-off-by: Thomas Gleixner <
[email protected]
>
include/linux/mtd/nand.h
patch
|
blob
|
history
diff --git
a/include/linux/mtd/nand.h
b/include/linux/mtd/nand.h
index 460525841a27e57345f44e16f828970f06c5bd42..6931376ed68da0869a4d662a5d7e6f040783e89f 100644
(file)
--- 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);