fix a kmap leak in virtio_console
[linux/fpc-iii.git] / drivers / mtd / tests / mtd_test.h
blobf437c776c54f499614746b78492d0d38139049af
1 #include <linux/mtd/mtd.h>
3 int mtdtest_erase_eraseblock(struct mtd_info *mtd, unsigned int ebnum);
4 int mtdtest_scan_for_bad_eraseblocks(struct mtd_info *mtd, unsigned char *bbt,
5 unsigned int eb, int ebcnt);
6 int mtdtest_erase_good_eraseblocks(struct mtd_info *mtd, unsigned char *bbt,
7 unsigned int eb, int ebcnt);
9 int mtdtest_read(struct mtd_info *mtd, loff_t addr, size_t size, void *buf);
10 int mtdtest_write(struct mtd_info *mtd, loff_t addr, size_t size,
11 const void *buf);