X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Fyaffs_nandif.c;h=26d4f69a0b704978cce1494b695289e811416a2d;hp=6f36eb7d3eb5d708aa6cf650ff155db82c7470e3;hb=8d2dcd0ff2f29c07eca62bc4bc3d83e2cafbc264;hpb=4a700fe570d217c2c5df87070db7c2652bc0eaaf diff --git a/direct/yaffs_nandif.c b/direct/yaffs_nandif.c index 6f36eb7..26d4f69 100644 --- a/direct/yaffs_nandif.c +++ b/direct/yaffs_nandif.c @@ -22,7 +22,7 @@ #include "yramsim.h" #include "yaffs_trace.h" - +#include "yaffsfs.h" /* NB For use with inband tags.... @@ -166,7 +166,6 @@ int ynandif_QueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockId, yaffs_Bl { unsigned chunkNo; yaffs_ExtendedTags tags; - ynandif_Geometry *geometry = (ynandif_Geometry *)(dev->driverContext); *sequenceNumber = 0;