aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar7/files/drivers/mtd
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-03-10 11:02:45 +0000
committerJohn Crispin <blogic@openwrt.org>2015-03-10 11:02:45 +0000
commit0d35249fed18473d91430a7cf44d8b4f644df033 (patch)
treecc775288705ffd95fdfd9a82f334c1ede36b90e4 /target/linux/ar7/files/drivers/mtd
parent7ad0ed98b681d8fcf9d4e9e855dbdfa7da6d6a99 (diff)
downloadupstream-0d35249fed18473d91430a7cf44d8b4f644df033.tar.gz
upstream-0d35249fed18473d91430a7cf44d8b4f644df033.tar.bz2
upstream-0d35249fed18473d91430a7cf44d8b4f644df033.zip
ar7: register_mtd_parser() does no longer have a return value
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44638 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar7/files/drivers/mtd')
-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);