kernel: modify mtd related patches for 3.14
[lede-git/.git] / target / linux / at91 / files / drivers / mtd / at91part.c
index bfa959049241f6786bd07d6868e94c050a5be0b3..31f3bbd69ddbb845530de0fb05f611c05fbe0a14 100644 (file)
@@ -1,5 +1,4 @@
 /*
- * $Id: at91part.c 6948 2007-04-15 04:01:45Z hcg $
  * 
  * Copyright (C) 2007 OpenWrt.org
  * 
@@ -111,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);