Commit cb70783c authored by Artem Bityutskiy's avatar Artem Bityutskiy Committed by David Woodhouse

mtd: mtdcore: cleanup mtdcore.h a little

Remove useless extern qualifiers. Not that this is a problem, but we more often
declare function prototypes without 'extern', so this is just about being more
consistent. And I am going to add a couple more prototypes here.

Additionally, remove a useless comment.
Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 57ae2b60
/* linux/drivers/mtd/mtdcore.h /*
* * These are exported solely for the purpose of mtd_blkdevs.c. You
* Header file for driver private mtdcore exports * should not use them for _anything_ else.
*
*/ */
/* These are exported solely for the purpose of mtd_blkdevs.c. You
should not use them for _anything_ else */
extern struct mutex mtd_table_mutex; extern struct mutex mtd_table_mutex;
extern struct mtd_info *__mtd_next_device(int i);
extern int add_mtd_device(struct mtd_info *mtd); struct mtd_info *__mtd_next_device(int i);
extern int del_mtd_device(struct mtd_info *mtd); int add_mtd_device(struct mtd_info *mtd);
extern int add_mtd_partitions(struct mtd_info *, const struct mtd_partition *, int del_mtd_device(struct mtd_info *mtd);
int); int add_mtd_partitions(struct mtd_info *, const struct mtd_partition *, int);
extern int del_mtd_partitions(struct mtd_info *); int del_mtd_partitions(struct mtd_info *);
extern int parse_mtd_partitions(struct mtd_info *master, int parse_mtd_partitions(struct mtd_info *master, const char * const *types,
const char * const *types,
struct mtd_partition **pparts, struct mtd_partition **pparts,
struct mtd_part_parser_data *data); struct mtd_part_parser_data *data);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment