~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/mtd/mtdcore.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
extern struct mutex mtd_table_mutex;
11
11
extern struct mtd_info *__mtd_next_device(int i);
12
12
 
 
13
extern int add_mtd_device(struct mtd_info *mtd);
 
14
extern int del_mtd_device(struct mtd_info *mtd);
 
15
extern int add_mtd_partitions(struct mtd_info *, const struct mtd_partition *,
 
16
                              int);
 
17
extern int del_mtd_partitions(struct mtd_info *);
 
18
 
13
19
#define mtd_for_each_device(mtd)                        \
14
20
        for ((mtd) = __mtd_next_device(0);              \
15
21
             (mtd) != NULL;                             \