diff options
| author | Axel Lin <axel.lin@ingics.com> | 2013-12-01 06:01:06 -0500 |
|---|---|---|
| committer | Brian Norris <computersforpeace@gmail.com> | 2014-01-03 14:22:22 -0500 |
| commit | 6e14a61d412eb87ef7bdcec8b08a95bead771a78 (patch) | |
| tree | 485dff0b5de49c083b1d04c81881c99a45a71063 /include/linux | |
| parent | cf3b2b1e24998ba67ca6defa71899bee2432046f (diff) | |
mtd: make register_mtd_parser return void
register_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 d513ffbd8043..6a35e6de5da1 100644 --- a/include/linux/mtd/partitions.h +++ b/include/linux/mtd/partitions.h | |||
| @@ -76,7 +76,7 @@ struct mtd_part_parser { | |||
| 76 | struct mtd_part_parser_data *); | 76 | struct mtd_part_parser_data *); |
| 77 | }; | 77 | }; |
| 78 | 78 | ||
| 79 | extern int register_mtd_parser(struct mtd_part_parser *parser); | 79 | extern void register_mtd_parser(struct mtd_part_parser *parser); |
| 80 | extern void 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); |
