Blame view
drivers/mtd/mtdcore.h
876 Bytes
cb70783c6 mtd: mtdcore: cle... |
1 |
/* |
660685d9d mtd: merge mtdcha... |
2 3 |
* These are exported solely for the purpose of mtd_blkdevs.c and mtdchar.c. * You should not use them for _anything_ else. |
356d70f19 [MTD] mtdcore.c: ... |
4 |
*/ |
356d70f19 [MTD] mtdcore.c: ... |
5 |
extern struct mutex mtd_table_mutex; |
f1332ba2f mtd: Introduce an... |
6 |
|
cb70783c6 mtd: mtdcore: cle... |
7 8 9 10 11 |
struct mtd_info *__mtd_next_device(int i); int add_mtd_device(struct mtd_info *mtd); int del_mtd_device(struct mtd_info *mtd); int add_mtd_partitions(struct mtd_info *, const struct mtd_partition *, int); int del_mtd_partitions(struct mtd_info *); |
07fd2f871 mtd: partitions: ... |
12 13 |
struct mtd_partitions; |
cb70783c6 mtd: mtdcore: cle... |
14 |
int parse_mtd_partitions(struct mtd_info *master, const char * const *types, |
07fd2f871 mtd: partitions: ... |
15 |
struct mtd_partitions *pparts, |
cb70783c6 mtd: mtdcore: cle... |
16 |
struct mtd_part_parser_data *data); |
eea72d5fd mtd: remove add_m... |
17 |
|
adc83bf88 mtd: partitions: ... |
18 |
void mtd_part_parser_cleanup(struct mtd_partitions *parts); |
660685d9d mtd: merge mtdcha... |
19 20 |
int __init init_mtdchar(void); void __exit cleanup_mtdchar(void); |
f1332ba2f mtd: Introduce an... |
21 22 23 24 |
#define mtd_for_each_device(mtd) \ for ((mtd) = __mtd_next_device(0); \ (mtd) != NULL; \ (mtd) = __mtd_next_device(mtd->index + 1)) |