uboot/drivers/mtd/mtdcore.h
<<
>>
Prefs
   1/*
   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
   8int 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);
  18