diff options
author | colin <colin> | 2008-01-22 10:30:45 +0000 |
---|---|---|
committer | colin <colin> | 2008-01-22 10:30:45 +0000 |
commit | e6104fde6ee694e807c19a3bb7ba52b50cfb55af (patch) | |
tree | 5abb13993aaac68afad75d736bca469b44b78c2b /yaffs_mtdif.h | |
parent | bcac5908f05d38711a5db79da4f2bae1eea3abba (diff) |
Conditionally define old style info structures
Diffstat (limited to 'yaffs_mtdif.h')
-rw-r--r-- | yaffs_mtdif.h | 5 |
1 files changed, 5 insertions, 0 deletions
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, |