kernel: modify mtd related patches for 3.14
[openwrt/openwrt.git] / target / linux / adm8668 / files / drivers / mtd / maps / adm8668.c
index 7ef0adac4bbe51fc11c25613e4b8f2f67d1848e7..e07bb40a45dffc12e9235f014f2d95d1d0cd9005 100644 (file)
@@ -246,7 +246,9 @@ static struct mtd_part_parser adm8668_parser = {
 
 static int __init adm8668_parser_init(void)
 {
-       return register_mtd_parser(&adm8668_parser);
+       register_mtd_parser(&adm8668_parser);
+
+       return 0;
 }
 
 static void __exit adm8668_parser_exit(void)