diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-12-01 19:01:06 +0800 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-01-03 11:22:22 -0800 |
commit | 6e14a61d412eb87ef7bdcec8b08a95bead771a78 (patch) | |
tree | 485dff0b5de49c083b1d04c81881c99a45a71063 /include | |
parent | cf3b2b1e24998ba67ca6defa71899bee2432046f (diff) | |
download | op-kernel-dev-6e14a61d412eb87ef7bdcec8b08a95bead771a78.zip op-kernel-dev-6e14a61d412eb87ef7bdcec8b08a95bead771a78.tar.gz |
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')
-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 d513ffb..6a35e6d 100644 --- a/include/linux/mtd/partitions.h +++ b/include/linux/mtd/partitions.h @@ -76,7 +76,7 @@ struct mtd_part_parser { struct mtd_part_parser_data *); }; -extern int register_mtd_parser(struct mtd_part_parser *parser); +extern void register_mtd_parser(struct mtd_part_parser *parser); extern void deregister_mtd_parser(struct mtd_part_parser *parser); int mtd_is_partition(const struct mtd_info *mtd); |