aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/files-2.6.26/fs/yaffs2/yaffs_nandemul2k.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
commit5f27e3969eec8b0b9b4e9ee359e8273566cc3455 (patch)
treee8440362ae34c256051c8f5b43cf6ed14a1abb80 /target/linux/generic-2.6/files-2.6.26/fs/yaffs2/yaffs_nandemul2k.h
parent00ee3a96d1698bb86e51d0ea1fa2c5dc8b8ebd1d (diff)
downloadupstream-5f27e3969eec8b0b9b4e9ee359e8273566cc3455.tar.gz
upstream-5f27e3969eec8b0b9b4e9ee359e8273566cc3455.tar.bz2
upstream-5f27e3969eec8b0b9b4e9ee359e8273566cc3455.zip
[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_nandemul2k.h')
-rw-r--r--target/linux/generic-2.6/files-2.6.26/fs/yaffs2/yaffs_nandemul2k.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic-2.6/files-2.6.26/fs/yaffs2/yaffs_nandemul2k.h b/target/linux/generic-2.6/files-2.6.26/fs/yaffs2/yaffs_nandemul2k.h
index c8576b307f..cd2e96f7ae 100644
--- a/target/linux/generic-2.6/files-2.6.26/fs/yaffs2/yaffs_nandemul2k.h
+++ b/target/linux/generic-2.6/files-2.6.26/fs/yaffs2/yaffs_nandemul2k.h
@@ -22,13 +22,13 @@
int nandemul2k_WriteChunkWithTagsToNAND(struct yaffs_DeviceStruct *dev,
int chunkInNAND, const __u8 * data,
- const yaffs_ExtendedTags * tags);
+ yaffs_ExtendedTags * tags);
int nandemul2k_ReadChunkWithTagsFromNAND(struct yaffs_DeviceStruct *dev,
int chunkInNAND, __u8 * data,
yaffs_ExtendedTags * tags);
int nandemul2k_MarkNANDBlockBad(struct yaffs_DeviceStruct *dev, int blockNo);
int nandemul2k_QueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockNo,
- yaffs_BlockState * state, __u32 *sequenceNumber);
+ yaffs_BlockState * state, int *sequenceNumber);
int nandemul2k_EraseBlockInNAND(struct yaffs_DeviceStruct *dev,
int blockInNAND);
int nandemul2k_InitialiseNAND(struct yaffs_DeviceStruct *dev);