diff options
author | Thomas Gleixner <tglx@cruncher.tec.linutronix.de> | 2006-05-23 10:10:00 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@cruncher.tec.linutronix.de> | 2006-05-23 10:10:00 -0400 |
commit | 2528e8cdf376d7da24647c442ec1e88c360d76ca (patch) | |
tree | 09df5f524085f4d12117fc81791bca10fa8a5f0e /include/linux | |
parent | 9d8522df37f91621a70c5c0dbbf5bf2220b16798 (diff) |
[MTD] Remove readv/readv_ecc
These functions were never implemented and added only bloat to
partition and concat code.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mtd/mtd.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h index dba25da84aed..af89e529b8d2 100644 --- a/include/linux/mtd/mtd.h +++ b/include/linux/mtd/mtd.h | |||
@@ -133,14 +133,10 @@ struct mtd_info { | |||
133 | int (*write_user_prot_reg) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf); | 133 | int (*write_user_prot_reg) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf); |
134 | int (*lock_user_prot_reg) (struct mtd_info *mtd, loff_t from, size_t len); | 134 | int (*lock_user_prot_reg) (struct mtd_info *mtd, loff_t from, size_t len); |
135 | 135 | ||
136 | /* kvec-based read/write methods. We need these especially for NAND flash, | 136 | /* kvec-based read/write methods. |
137 | with its limited number of write cycles per erase. | ||
138 | NB: The 'count' parameter is the number of _vectors_, each of | 137 | NB: The 'count' parameter is the number of _vectors_, each of |
139 | which contains an (ofs, len) tuple. | 138 | which contains an (ofs, len) tuple. |
140 | */ | 139 | */ |
141 | int (*readv) (struct mtd_info *mtd, struct kvec *vecs, unsigned long count, loff_t from, size_t *retlen); | ||
142 | int (*readv_ecc) (struct mtd_info *mtd, struct kvec *vecs, unsigned long count, loff_t from, | ||
143 | size_t *retlen, u_char *eccbuf, struct nand_oobinfo *oobsel); | ||
144 | int (*writev) (struct mtd_info *mtd, const struct kvec *vecs, unsigned long count, loff_t to, size_t *retlen); | 140 | int (*writev) (struct mtd_info *mtd, const struct kvec *vecs, unsigned long count, loff_t to, size_t *retlen); |
145 | 141 | ||
146 | /* Sync */ | 142 | /* Sync */ |