diff options
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r-- | target/linux/ar71xx/files/drivers/mtd/tplinkpart.c | 4 | ||||
-rw-r--r-- | target/linux/ar71xx/files/drivers/mtd/wrt160nl_part.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/drivers/mtd/tplinkpart.c b/target/linux/ar71xx/files/drivers/mtd/tplinkpart.c index cabb96033d..ab952b63e9 100644 --- a/target/linux/ar71xx/files/drivers/mtd/tplinkpart.c +++ b/target/linux/ar71xx/files/drivers/mtd/tplinkpart.c @@ -188,7 +188,9 @@ static struct mtd_part_parser tplink_parser = { static int __init tplink_parser_init(void) { - return register_mtd_parser(&tplink_parser); + register_mtd_parser(&tplink_parser); + + return 0; } module_init(tplink_parser_init); diff --git a/target/linux/ar71xx/files/drivers/mtd/wrt160nl_part.c b/target/linux/ar71xx/files/drivers/mtd/wrt160nl_part.c index 1ced8acc7b..698bba87ea 100644 --- a/target/linux/ar71xx/files/drivers/mtd/wrt160nl_part.c +++ b/target/linux/ar71xx/files/drivers/mtd/wrt160nl_part.c @@ -196,7 +196,9 @@ static struct mtd_part_parser wrt160nl_parser = { static int __init wrt160nl_parser_init(void) { - return register_mtd_parser(&wrt160nl_parser); + register_mtd_parser(&wrt160nl_parser); + + return 0; } module_init(wrt160nl_parser_init); |