Mercurial > yaffs-ecoscentric
changeset 208:9592f3ea33f3
Conditionally define old style info structures
| author | colin |
|---|---|
| date | Tue, 22 Jan 2008 10:30:45 +0000 |
| parents | 0ce78145ebdc |
| children | 1e0024d127cf |
| files | yaffs_mtdif.h |
| diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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,
