1*4882a593Smuzhiyun /* 2*4882a593Smuzhiyun * These are exported solely for the purpose of mtd_blkdevs.c and mtdchar.c. 3*4882a593Smuzhiyun * You should not use them for _anything_ else. 4*4882a593Smuzhiyun */ 5*4882a593Smuzhiyun 6*4882a593Smuzhiyun extern struct mutex mtd_table_mutex; 7*4882a593Smuzhiyun 8*4882a593Smuzhiyun int add_mtd_device(struct mtd_info *mtd); 9*4882a593Smuzhiyun int del_mtd_device(struct mtd_info *mtd); 10*4882a593Smuzhiyun int add_mtd_partitions(struct mtd_info *, const struct mtd_partition *, int); 11*4882a593Smuzhiyun int del_mtd_partitions(struct mtd_info *); 12*4882a593Smuzhiyun int parse_mtd_partitions(struct mtd_info *master, const char * const *types, 13*4882a593Smuzhiyun struct mtd_partition **pparts, 14*4882a593Smuzhiyun struct mtd_part_parser_data *data); 15*4882a593Smuzhiyun 16*4882a593Smuzhiyun int __init init_mtdchar(void); 17*4882a593Smuzhiyun void __exit cleanup_mtdchar(void); 18