summaryrefslogtreecommitdiff
path: root/src/mtd_erase_all.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mtd_erase_all.h')
-rw-r--r--src/mtd_erase_all.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mtd_erase_all.h b/src/mtd_erase_all.h
new file mode 100644
index 0000000..a5edae1
--- /dev/null
+++ b/src/mtd_erase_all.h
@@ -0,0 +1,6 @@
+#ifndef __MTD_ERASE_ALL_H
+#define __MTD_ERASE_ALL_H
+
+int mtd_erase_all(const char *mtd_device, int jffs2);
+
+#endif /* ~__MTD_ERASE_ALL_H */