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
This commit is contained in:
Hauke Mehrtens 2014-05-08 21:52:04 +00:00
parent c09007c1af
commit f5e5477c81
4 changed files with 12 additions and 4 deletions

View file

@ -246,7 +246,9 @@ static struct mtd_part_parser adm8668_parser = {
static int __init adm8668_parser_init(void) static int __init adm8668_parser_init(void)
{ {
return register_mtd_parser(&adm8668_parser); register_mtd_parser(&adm8668_parser);
return 0;
} }
static void __exit adm8668_parser_exit(void) static void __exit adm8668_parser_exit(void)

View file

@ -188,7 +188,9 @@ static struct mtd_part_parser tplink_parser = {
static int __init tplink_parser_init(void) 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); module_init(tplink_parser_init);

View file

@ -196,7 +196,9 @@ static struct mtd_part_parser wrt160nl_parser = {
static int __init wrt160nl_parser_init(void) 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); module_init(wrt160nl_parser_init);

View file

@ -110,7 +110,9 @@ static struct mtd_part_parser at91_parser = {
static int __init at91_parser_init(void) static int __init at91_parser_init(void)
{ {
return register_mtd_parser(&at91_parser); register_mtd_parser(&at91_parser);
return 0;
} }
module_init(at91_parser_init); module_init(at91_parser_init);