aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/files/fs/yaffs2/yaffs_mtdif.h
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-06-10 08:20:19 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-06-10 08:20:19 +0000
commit306910e5d18ea19b4c10df06defaa494733def60 (patch)
treef917170f40440cca92bd47afe27d78859725a5c9 /target/linux/generic-2.6/files/fs/yaffs2/yaffs_mtdif.h
parentc9d9f8045c5aebdfeb96d7f9833927751d854bc1 (diff)
downloadupstream-306910e5d18ea19b4c10df06defaa494733def60.tar.gz
upstream-306910e5d18ea19b4c10df06defaa494733def60.tar.bz2
upstream-306910e5d18ea19b4c10df06defaa494733def60.zip
generic-2.6: revert yaffs changes [11378], the new code is not working correctly on RouterBoards
SVN-Revision: 11427
Diffstat (limited to 'target/linux/generic-2.6/files/fs/yaffs2/yaffs_mtdif.h')
-rw-r--r--target/linux/generic-2.6/files/fs/yaffs2/yaffs_mtdif.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/target/linux/generic-2.6/files/fs/yaffs2/yaffs_mtdif.h b/target/linux/generic-2.6/files/fs/yaffs2/yaffs_mtdif.h
index 511b0176a1..317600cac9 100644
--- a/target/linux/generic-2.6/files/fs/yaffs2/yaffs_mtdif.h
+++ b/target/linux/generic-2.6/files/fs/yaffs2/yaffs_mtdif.h
@@ -18,11 +18,6 @@
#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,