diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2014-05-08 21:52:04 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2014-05-08 21:52:04 +0000 |
commit | f5e5477c8135b4a43a9031ca24a2bfc6ec8ff228 (patch) | |
tree | 8f6eec3cee148a5121e8b7664d3aa50ff2385184 /target/linux/ar71xx/files/drivers/mtd | |
parent | c09007c1af489f59dcd13c654b58550f5050d433 (diff) | |
download | mtk-20170518-f5e5477c8135b4a43a9031ca24a2bfc6ec8ff228.zip mtk-20170518-f5e5477c8135b4a43a9031ca24a2bfc6ec8ff228.tar.gz mtk-20170518-f5e5477c8135b4a43a9031ca24a2bfc6ec8ff228.tar.bz2 |
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>
SVN-Revision: 40732
Diffstat (limited to 'target/linux/ar71xx/files/drivers/mtd')
-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 cabb960..ab952b6 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 1ced8ac..698bba8 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); |