diff options
Diffstat (limited to 'target/linux/generic/files/drivers/mtd/mtdsplit_lzma.c')
-rw-r--r-- | target/linux/generic/files/drivers/mtd/mtdsplit_lzma.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/target/linux/generic/files/drivers/mtd/mtdsplit_lzma.c b/target/linux/generic/files/drivers/mtd/mtdsplit_lzma.c index d23060a7d5..64dc7cb31c 100644 --- a/target/linux/generic/files/drivers/mtd/mtdsplit_lzma.c +++ b/target/linux/generic/files/drivers/mtd/mtdsplit_lzma.c @@ -86,10 +86,11 @@ static struct mtd_part_parser mtdsplit_lzma_parser = { .type = MTD_PARSER_TYPE_FIRMWARE, }; -static int -mtdsplit_lzma_init(void) +static int __init mtdsplit_lzma_init(void) { - return register_mtd_parser(&mtdsplit_lzma_parser); + register_mtd_parser(&mtdsplit_lzma_parser); + + return 0; } subsys_initcall(mtdsplit_lzma_init); |