yaffs Normalized headers for release branch.
[yaffs2.git] / direct / yaffs_nandif.c
index 6f36eb7d3eb5d708aa6cf650ff155db82c7470e3..a4289490d934b3308b2811bc908fc4c52cbc9b2c 100644 (file)
@@ -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 <charles@aleph1.co.uk>
@@ -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;