ar7: register_mtd_parser() does no longer have a return value
[15.05/openwrt.git] / target / linux / ar7 / files / drivers / mtd / ac49xpart.c
index 1f937f0..7ac4a81 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);