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 /drivers/mtd/cmdlinepart.c | |
parent | cf3b2b1e24998ba67ca6defa71899bee2432046f (diff) | |
download | linux-6e14a61d412eb87ef7bdcec8b08a95bead771a78.tar.bz2 |
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 'drivers/mtd/cmdlinepart.c')
-rw-r--r-- | drivers/mtd/cmdlinepart.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/cmdlinepart.c b/drivers/mtd/cmdlinepart.c index 721caebbc5cc..3e829b37af8d 100644 --- a/drivers/mtd/cmdlinepart.c +++ b/drivers/mtd/cmdlinepart.c @@ -395,7 +395,8 @@ static int __init cmdline_parser_init(void) { if (mtdparts) mtdpart_setup(mtdparts); - return register_mtd_parser(&cmdline_parser); + register_mtd_parser(&cmdline_parser); + return 0; } static void __exit cmdline_parser_exit(void) |