yaffs driver refactoring: Change to Linux driver interface
authorCharles Manning <cdhmanning@gmail.com>
Wed, 20 Jun 2012 04:27:03 +0000 (16:27 +1200)
committerCharles Manning <cdhmanning@gmail.com>
Wed, 20 Jun 2012 04:27:03 +0000 (16:27 +1200)
This needed to be changed again after various tags compatability
tweaking.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs_mtdif_multi.c

index 7968c3f..6280d2e 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;