summaryrefslogtreecommitdiffstats
path: root/include/nand.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/nand.h')
-rw-r--r--include/nand.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/nand.h b/include/nand.h
index 5121c4d5fc..522a0fc523 100644
--- a/include/nand.h
+++ b/include/nand.h
@@ -2,7 +2,9 @@
#ifndef __NAND_H__
#define __NAND_H__
-struct device_d *dev_add_bb_dev(struct device_d *dev, const char *name);
+struct nand_bb;
+
+int dev_add_bb_dev(char *filename, const char *name);
#endif /* __NAND_H__ */