diff options
| author | Axel Lin <axel.lin@ingics.com> | 2013-12-01 05:59:15 -0500 |
|---|---|---|
| committer | Brian Norris <computersforpeace@gmail.com> | 2014-01-03 14:22:22 -0500 |
| commit | cf3b2b1e24998ba67ca6defa71899bee2432046f (patch) | |
| tree | f111948c2c628cac23407e603939ed57cbdd43eb /include/linux | |
| parent | 2072552c33c82e7f0c7adfac7965ecf40b739f1a (diff) | |
mtd: make deregister_mtd_parser return void
deregister_mtd_parser never fails; hence make it return void.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mtd/partitions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mtd/partitions.h b/include/linux/mtd/partitions.h index 335ffca10c10..d513ffbd8043 100644 --- a/include/linux/mtd/partitions.h +++ b/include/linux/mtd/partitions.h | |||
| @@ -77,7 +77,7 @@ struct mtd_part_parser { | |||
| 77 | }; | 77 | }; |
| 78 | 78 | ||
| 79 | extern int register_mtd_parser(struct mtd_part_parser *parser); | 79 | extern int register_mtd_parser(struct mtd_part_parser *parser); |
| 80 | extern int deregister_mtd_parser(struct mtd_part_parser *parser); | 80 | extern void deregister_mtd_parser(struct mtd_part_parser *parser); |
| 81 | 81 | ||
| 82 | int mtd_is_partition(const struct mtd_info *mtd); | 82 | int mtd_is_partition(const struct mtd_info *mtd); |
| 83 | int mtd_add_partition(struct mtd_info *master, const char *name, | 83 | int mtd_add_partition(struct mtd_info *master, const char *name, |
