From f5e5477c8135b4a43a9031ca24a2bfc6ec8ff228 Mon Sep 17 00:00:00 2001
From: Hauke Mehrtens <hauke@hauke-m.de>
Date: Thu, 8 May 2014 21:52:04 +0000
Subject: 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
---
 target/linux/at91/files/drivers/mtd/at91part.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'target/linux/at91/files/drivers')

diff --git a/target/linux/at91/files/drivers/mtd/at91part.c b/target/linux/at91/files/drivers/mtd/at91part.c
index d9c55ed..31f3bbd 100644
--- a/target/linux/at91/files/drivers/mtd/at91part.c
+++ b/target/linux/at91/files/drivers/mtd/at91part.c
@@ -110,7 +110,9 @@ static struct mtd_part_parser at91_parser = {
 
 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);
-- 
cgit v1.1