yaffs Fixed some bugs in direct/timothy_tests/mirror_tests
[yaffs2.git] / yaffs_mtdif2.h
index b33b84d..d821126 100644 (file)
 #define __YAFFS_MTDIF2_H__
 
 #include "yaffs_guts.h"
-int nandmtd2_write_chunk_tags(yaffs_dev_t *dev, int nand_chunk,
-                               const __u8 *data,
-                               const yaffs_ext_tags *tags);
-int nandmtd2_read_chunk_tags(yaffs_dev_t *dev, int nand_chunk,
-                               __u8 *data, yaffs_ext_tags *tags);
-int nandmtd2_mark_block_bad(struct yaffs_dev_s *dev, int block_no);
-int nandmtd2_query_block(struct yaffs_dev_s *dev, int block_no,
-                       yaffs_block_state_t *state, __u32 *seq_number);
+int nandmtd2_write_chunk_tags(struct yaffs_dev *dev, int nand_chunk,
+                             const u8 * data,
+                             const struct yaffs_ext_tags *tags);
+int nandmtd2_read_chunk_tags(struct yaffs_dev *dev, int nand_chunk,
+                            u8 * data, struct yaffs_ext_tags *tags);
+int nandmtd2_mark_block_bad(struct yaffs_dev *dev, int block_no);
+int nandmtd2_query_block(struct yaffs_dev *dev, int block_no,
+                        enum yaffs_block_state *state, u32 * seq_number);
 
 #endif