X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_mtdif.h;h=511b0176a1c02e72e9ce472ab9a5a6cc2e701232;hp=317600cac972c8f1b3af48652a9cff64e6a563d9;hb=e6104fde6ee694e807c19a3bb7ba52b50cfb55af;hpb=a4d9ea92251deb3c1389e3e3443faf4341f817db diff --git a/yaffs_mtdif.h b/yaffs_mtdif.h index 317600c..511b017 100644 --- a/yaffs_mtdif.h +++ b/yaffs_mtdif.h @@ -18,6 +18,11 @@ #include "yaffs_guts.h" +#if (MTD_VERSION_CODE < MTD_VERSION(2,6,18)) +extern struct nand_oobinfo yaffs_oobinfo; +extern struct nand_oobinfo yaffs_noeccinfo; +#endif + int nandmtd_WriteChunkToNAND(yaffs_Device * dev, int chunkInNAND, const __u8 * data, const yaffs_Spare * spare); int nandmtd_ReadChunkFromNAND(yaffs_Device * dev, int chunkInNAND, __u8 * data,