summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-12-01 19:01:06 +0800
committerBrian Norris <computersforpeace@gmail.com>2014-01-03 11:22:22 -0800
commit6e14a61d412eb87ef7bdcec8b08a95bead771a78 (patch)
tree485dff0b5de49c083b1d04c81881c99a45a71063 /include
parentcf3b2b1e24998ba67ca6defa71899bee2432046f (diff)
downloadlinux-stable-6e14a61d412eb87ef7bdcec8b08a95bead771a78.tar.gz
linux-stable-6e14a61d412eb87ef7bdcec8b08a95bead771a78.tar.bz2
linux-stable-6e14a61d412eb87ef7bdcec8b08a95bead771a78.zip
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.h2
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 {
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);