X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=direct%2Fyaffs_nandif.c;h=a4289490d934b3308b2811bc908fc4c52cbc9b2c;hb=3c13afb51057896ebc8ae1968b616d58275690d5;hp=6f36eb7d3eb5d708aa6cf650ff155db82c7470e3;hpb=4a700fe570d217c2c5df87070db7c2652bc0eaaf;p=yaffs2.git diff --git a/direct/yaffs_nandif.c b/direct/yaffs_nandif.c index 6f36eb7..a428949 100644 --- a/direct/yaffs_nandif.c +++ b/direct/yaffs_nandif.c @@ -1,7 +1,7 @@ /* * YAFFS: Yet Another Flash File System. A NAND-flash specific file system. * - * Copyright (C) 2002-2007 Aleph One Ltd. + * Copyright (C) 2002-2010 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * * Created by Charles Manning @@ -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;