kernel/generic: modify mtd related patches for 3.14
[openwrt/svn-archive/archive.git] / target / linux / generic / files / drivers / mtd / mtdsplit_squashfs.c
index 7953e8c..3d80e07 100644 (file)
@@ -62,10 +62,11 @@ static struct mtd_part_parser mtdsplit_squashfs_parser = {
        .type = MTD_PARSER_TYPE_ROOTFS,
 };
 
-static int
-mtdsplit_squashfs_init(void)
+static int __init mtdsplit_squashfs_init(void)
 {
-       return register_mtd_parser(&mtdsplit_squashfs_parser);
+       register_mtd_parser(&mtdsplit_squashfs_parser);
+
+       return 0;
 }
 
 subsys_initcall(mtdsplit_squashfs_init);