len, retlen, buf);
}
-static int part_writev (struct mtd_info *mtd, const struct iovec *vecs,
+static int part_writev (struct mtd_info *mtd, const struct kvec *vecs,
unsigned long count, loff_t to, size_t *retlen)
{
struct mtd_part *part = PART(mtd);
NULL, &mtd->oobinfo);
}
-static int part_readv (struct mtd_info *mtd, struct iovec *vecs,
+static int part_readv (struct mtd_info *mtd, struct kvec *vecs,
unsigned long count, loff_t from, size_t *retlen)
{
struct mtd_part *part = PART(mtd);
NULL, &mtd->oobinfo);
}
-static int part_writev_ecc (struct mtd_info *mtd, const struct iovec *vecs,
+static int part_writev_ecc (struct mtd_info *mtd, const struct kvec *vecs,
unsigned long count, loff_t to, size_t *retlen,
u_char *eccbuf, struct nand_oobinfo *oobsel)
{
eccbuf, oobsel);
}
-static int part_readv_ecc (struct mtd_info *mtd, struct iovec *vecs,
+static int part_readv_ecc (struct mtd_info *mtd, struct kvec *vecs,
unsigned long count, loff_t from, size_t *retlen,
u_char *eccbuf, struct nand_oobinfo *oobsel)
{