summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6/files-2.6.26/fs/yaffs2/yaffs_nand.c
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-06-10 08:20:19 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-06-10 08:20:19 +0000
commit7bf7027431679fe3ee014e5ce6be8b9c50bc48c6 (patch)
treee8440362ae34c256051c8f5b43cf6ed14a1abb80 /target/linux/generic-2.6/files-2.6.26/fs/yaffs2/yaffs_nand.c
parentfbaee64c454b2aac14f6cc324188f8d4c753a0d1 (diff)
[kernel] generic-2.6: revert yaffs changes [11378], the new code is not working correctly on RouterBoards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11427 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6/files-2.6.26/fs/yaffs2/yaffs_nand.c')
-rw-r--r--target/linux/generic-2.6/files-2.6.26/fs/yaffs2/yaffs_nand.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/target/linux/generic-2.6/files-2.6.26/fs/yaffs2/yaffs_nand.c b/target/linux/generic-2.6/files-2.6.26/fs/yaffs2/yaffs_nand.c
index af42157724..4e250338d7 100644
--- a/target/linux/generic-2.6/files-2.6.26/fs/yaffs2/yaffs_nand.c
+++ b/target/linux/generic-2.6/files-2.6.26/fs/yaffs2/yaffs_nand.c
@@ -12,13 +12,12 @@
*/
const char *yaffs_nand_c_version =
- "$Id: yaffs_nand.c,v 1.9 2008-05-05 07:58:58 charles Exp $";
+ "$Id: yaffs_nand.c,v 1.7 2007-02-14 01:09:06 wookey 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,
@@ -99,7 +98,7 @@ int yaffs_MarkBlockBad(yaffs_Device * dev, int blockNo)
int yaffs_QueryInitialBlockState(yaffs_Device * dev,
int blockNo,
yaffs_BlockState * state,
- __u32 *sequenceNumber)
+ unsigned *sequenceNumber)
{
blockNo -= dev->blockOffset;