aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/drivers/mtd
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2014-05-08 21:52:04 +0000
committerHauke Mehrtens <hauke@openwrt.org>2014-05-08 21:52:04 +0000
commit5e4a3e57db5a185f65d0633182d5eea57da8f3c4 (patch)
tree25ffe2f222e5bbfb8751a97c5b1369b9cecc8cda /target/linux/ar71xx/files/drivers/mtd
parent3a2eca5351453ccaadf9ff6fec5d769bf721f4ee (diff)
downloadupstream-5e4a3e57db5a185f65d0633182d5eea57da8f3c4.tar.gz
upstream-5e4a3e57db5a185f65d0633182d5eea57da8f3c4.tar.bz2
upstream-5e4a3e57db5a185f65d0633182d5eea57da8f3c4.zip
kernel: modify mtd related patches for 3.14
The change is the same as ("kernel/generic: modify mtd related patches"). Since these files are under files directory, not a files directory of specific kernel version, better to also change them. So it will avoid adding files to future specific files directory (e.g. files-3.14) for this mtd related change. Signed-off-by: Zhao, Gang <gamerh2o@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40732 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/drivers/mtd')
-rw-r--r--target/linux/ar71xx/files/drivers/mtd/tplinkpart.c4
-rw-r--r--target/linux/ar71xx/files/drivers/mtd/wrt160nl_part.c4
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);