Fix compilation on Linux 2.6.26, fix compilation warnings
[yaffs2.git] / yaffs_mtdif1.h
index c4f6197d68ab7c9af90c202afd6790bbfae936d6..5fa056c449b25d7e6f0d726092651031924752c5 100644 (file)
@@ -23,6 +23,6 @@ int nandmtd1_ReadChunkWithTagsFromNAND(yaffs_Device * dev, int chunkInNAND,
 int nandmtd1_MarkNANDBlockBad(struct yaffs_DeviceStruct *dev, int blockNo);
 
 int nandmtd1_QueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockNo,
 int nandmtd1_MarkNANDBlockBad(struct yaffs_DeviceStruct *dev, int blockNo);
 
 int nandmtd1_QueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockNo,
-       yaffs_BlockState * state, int *sequenceNumber);
+       yaffs_BlockState * state, __u32 *sequenceNumber);
 
 #endif
 
 #endif