blob: 1d181a1045b10aa9e2959b6bf84533b4fbe72609 [file] [log] [blame]
Heiko Schocherf5895d12014-06-24 10:10:04 +02001/*
2 * These are exported solely for the purpose of mtd_blkdevs.c and mtdchar.c.
3 * You should not use them for _anything_ else.
4 */
5
6extern struct mutex mtd_table_mutex;
7
Heiko Schocherf5895d12014-06-24 10:10:04 +02008int add_mtd_device(struct mtd_info *mtd);
9int del_mtd_device(struct mtd_info *mtd);
10int add_mtd_partitions(struct mtd_info *, const struct mtd_partition *, int);
11int del_mtd_partitions(struct mtd_info *);
12int parse_mtd_partitions(struct mtd_info *master, const char * const *types,
13 struct mtd_partition **pparts,
14 struct mtd_part_parser_data *data);
15
16int __init init_mtdchar(void);
17void __exit cleanup_mtdchar(void);