summaryrefslogtreecommitdiff
path: root/target/linux/olpc/files/drivers/mtd/mtdcore.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/olpc/files/drivers/mtd/mtdcore.h')
-rw-r--r--target/linux/olpc/files/drivers/mtd/mtdcore.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/olpc/files/drivers/mtd/mtdcore.h b/target/linux/olpc/files/drivers/mtd/mtdcore.h
new file mode 100644
index 0000000000..a33251f4b8
--- /dev/null
+++ b/target/linux/olpc/files/drivers/mtd/mtdcore.h
@@ -0,0 +1,11 @@
+/* linux/drivers/mtd/mtdcore.h
+ *
+ * Header file for driver private mtdcore exports
+ *
+ */
+
+/* These are exported solely for the purpose of mtd_blkdevs.c. You
+ should not use them for _anything_ else */
+
+extern struct mutex mtd_table_mutex;
+extern struct mtd_info *mtd_table[MAX_MTD_DEVICES];