aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mtd/mtd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mtd/mtd.h')
-rw-r--r--include/linux/mtd/mtd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
index 06b489a7605b..f4b0b27a7bbe 100644
--- a/include/linux/mtd/mtd.h
+++ b/include/linux/mtd/mtd.h
@@ -325,6 +325,12 @@ static inline uint32_t mtd_mod_by_ws(uint64_t sz, struct mtd_info *mtd)
325extern int add_mtd_device(struct mtd_info *mtd); 325extern int add_mtd_device(struct mtd_info *mtd);
326extern int del_mtd_device (struct mtd_info *mtd); 326extern int del_mtd_device (struct mtd_info *mtd);
327 327
328struct mtd_partition;
329
330extern int mtd_device_register(struct mtd_info *master,
331 const struct mtd_partition *parts,
332 int nr_parts);
333extern int mtd_device_unregister(struct mtd_info *master);
328extern struct mtd_info *get_mtd_device(struct mtd_info *mtd, int num); 334extern struct mtd_info *get_mtd_device(struct mtd_info *mtd, int num);
329extern int __get_mtd_device(struct mtd_info *mtd); 335extern int __get_mtd_device(struct mtd_info *mtd);
330extern void __put_mtd_device(struct mtd_info *mtd); 336extern void __put_mtd_device(struct mtd_info *mtd);