/*
* 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