Move cache code to own file
[yaffs2.git] / direct / test-framework / yaffs_nand_drv.h
index 3e93644bc8f148f2012933ea535fb13bd6f58efe..d52ec669ad7296cb392b804f401edd800ac56c8b 100644 (file)
@@ -1,8 +1,7 @@
 /*
  * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
  *
- * Copyright (C) 2002-2011 Aleph One Ltd.
- *   for Toby Churchill Ltd and Brightstar Engineering
+ * Copyright (C) 2002-2018 Aleph One Ltd.
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
  *
 #ifndef __YAFFS_NAND_DRV_H__
 #define __YAFFS_NAND_DRV_H__
 
-struct nand_store;
+#include "yaffs_guts.h"
+#include "nand_chip.h"
 
-struct yaffs_dev *
-       yaffs_nand_install_drv(const char *name,
-                               struct nand_store *ns);
-
-struct yaffs_dev *yaffs_nandsim_install_drv(const char *name,
-                                       const char *file_name,
-                                       int n_blocks);
+int yaffs_nand_install_drv(struct yaffs_dev *dev, struct nand_chip *chip);
 
 #endif