diff options
Diffstat (limited to 'drivers/mtd/mtdcore.h')
-rw-r--r-- | drivers/mtd/mtdcore.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/mtd/mtdcore.h b/drivers/mtd/mtdcore.h index 6a64fdebc898..0ed6126b4c1f 100644 --- a/drivers/mtd/mtdcore.h +++ b/drivers/mtd/mtdcore.h | |||
@@ -10,6 +10,12 @@ | |||
10 | extern struct mutex mtd_table_mutex; | 10 | extern struct mutex mtd_table_mutex; |
11 | extern struct mtd_info *__mtd_next_device(int i); | 11 | extern struct mtd_info *__mtd_next_device(int i); |
12 | 12 | ||
13 | extern int add_mtd_device(struct mtd_info *mtd); | ||
14 | extern int del_mtd_device(struct mtd_info *mtd); | ||
15 | extern int add_mtd_partitions(struct mtd_info *, const struct mtd_partition *, | ||
16 | int); | ||
17 | extern int del_mtd_partitions(struct mtd_info *); | ||
18 | |||
13 | #define mtd_for_each_device(mtd) \ | 19 | #define mtd_for_each_device(mtd) \ |
14 | for ((mtd) = __mtd_next_device(0); \ | 20 | for ((mtd) = __mtd_next_device(0); \ |
15 | (mtd) != NULL; \ | 21 | (mtd) != NULL; \ |