yaffs: More clean up
[yaffs2.git] / patches / yaffs_mtdif2.c
index 1814843..19677ad 100644 (file)
@@ -213,7 +213,7 @@ int nandmtd2_MarkNANDBlockBad(struct yaffs_dev *dev, int block_no)
 }
 
 int nandmtd2_QueryNANDBlock(struct yaffs_dev *dev, int block_no,
-                           yaffs_block_state_t * state, int *seq_number)
+                           enum yaffs_block_state * state, int *seq_number)
 {
        struct mtd_info *mtd = (struct mtd_info *)(dev->genericDevice);
        int retval;