ar7: register_mtd_parser() does no longer have a return value
authorJohn Crispin <john@openwrt.org>
Tue, 10 Mar 2015 11:02:45 +0000 (11:02 +0000)
committerJohn Crispin <john@openwrt.org>
Tue, 10 Mar 2015 11:02:45 +0000 (11:02 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44638

target/linux/ar7/files/drivers/mtd/ac49xpart.c

index 1f937f0f7c37b524722e4256b1ce0a46c759dae7..7ac4a817fca01e2c406053460cf066496e7e8bcc 100644 (file)
@@ -210,7 +210,8 @@ static struct mtd_part_parser ac49x_parser = {
 
 static int __init ac49x_parser_init(void)
 {
-       return register_mtd_parser(&ac49x_parser);
+       register_mtd_parser(&ac49x_parser);
+       return 0;
 }
 
 module_init(ac49x_parser_init);