yaffs driver refactoring: Change to Linux driver interface
[yaffs2.git] / yaffs_mtdif_multi.c
index 7968c3fa3214c20d7941a6367f04ae3413f2ae35..6280d2e627773e6ba79802e0cd7110f4bd34264e 100644 (file)
@@ -88,7 +88,7 @@ static        int yaffs_mtd_write(struct yaffs_dev *dev, int nand_chunk,
 static int yaffs_mtd_read(struct yaffs_dev *dev, int nand_chunk,
                                   u8 *data, int data_len,
                                   u8 *oob, int oob_len,
-                                  int *ecc_result)
+                                  enum yaffs_ecc_result *ecc_result)
 {
        struct mtd_info *mtd = yaffs_dev_to_mtd(dev);
        loff_t addr;