diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-06-06 12:52:39 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-06-06 12:52:39 +0000 |
commit | 477d43b2817c17de1caaedc38e50c3e7235ee585 (patch) | |
tree | 8ba415f294639d4cdc93d6fa0902215a61a63d12 /target/linux/generic-2.6/files-2.6.25/fs/yaffs2/yaffs_nand.c | |
parent | 306f3677ecbecce777f35bfe3a9475901055dff1 (diff) | |
download | mtk-20170518-477d43b2817c17de1caaedc38e50c3e7235ee585.zip mtk-20170518-477d43b2817c17de1caaedc38e50c3e7235ee585.tar.gz mtk-20170518-477d43b2817c17de1caaedc38e50c3e7235ee585.tar.bz2 |
generic-2.6: sync yaffs code with the official CVS tree
SVN-Revision: 11378
Diffstat (limited to 'target/linux/generic-2.6/files-2.6.25/fs/yaffs2/yaffs_nand.c')
-rw-r--r-- | target/linux/generic-2.6/files-2.6.25/fs/yaffs2/yaffs_nand.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/generic-2.6/files-2.6.25/fs/yaffs2/yaffs_nand.c b/target/linux/generic-2.6/files-2.6.25/fs/yaffs2/yaffs_nand.c index 4e25033..af42157 100644 --- a/target/linux/generic-2.6/files-2.6.25/fs/yaffs2/yaffs_nand.c +++ b/target/linux/generic-2.6/files-2.6.25/fs/yaffs2/yaffs_nand.c @@ -12,12 +12,13 @@ */ const char *yaffs_nand_c_version = - "$Id: yaffs_nand.c,v 1.7 2007-02-14 01:09:06 wookey Exp $"; + "$Id: yaffs_nand.c,v 1.9 2008-05-05 07:58:58 charles Exp $"; #include "yaffs_nand.h" #include "yaffs_tagscompat.h" #include "yaffs_tagsvalidity.h" +#include "yaffs_getblockinfo.h" int yaffs_ReadChunkWithTagsFromNAND(yaffs_Device * dev, int chunkInNAND, __u8 * buffer, @@ -98,7 +99,7 @@ int yaffs_MarkBlockBad(yaffs_Device * dev, int blockNo) int yaffs_QueryInitialBlockState(yaffs_Device * dev, int blockNo, yaffs_BlockState * state, - unsigned *sequenceNumber) + __u32 *sequenceNumber) { blockNo -= dev->blockOffset; |