summaryrefslogtreecommitdiffstats
path: root/target/linux/ar7
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-03-10 11:02:45 +0000
committerJohn Crispin <john@openwrt.org>2015-03-10 11:02:45 +0000
commit8777e3189e43da71a3375e920ba89a3174de9397 (patch)
treebd762118c7177b8d9ba03c9fef65c8db45d9d6cb /target/linux/ar7
parentd16f07aa10f2477ca2ad8e224286bd809323f073 (diff)
downloadmaster-31e0f0ae-8777e3189e43da71a3375e920ba89a3174de9397.tar.gz
master-31e0f0ae-8777e3189e43da71a3375e920ba89a3174de9397.tar.bz2
master-31e0f0ae-8777e3189e43da71a3375e920ba89a3174de9397.zip
ar7: register_mtd_parser() does no longer have a return value
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44638
Diffstat (limited to 'target/linux/ar7')
-rw-r--r--target/linux/ar7/files/drivers/mtd/ac49xpart.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ar7/files/drivers/mtd/ac49xpart.c b/target/linux/ar7/files/drivers/mtd/ac49xpart.c
index 1f937f0f7c..7ac4a817fc 100644
--- a/target/linux/ar7/files/drivers/mtd/ac49xpart.c
+++ b/target/linux/ar7/files/drivers/mtd/ac49xpart.c
@@ -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);