--- a/drivers/mtd/mtdpart.c
+++ b/drivers/mtd/mtdpart.c
-@@ -803,6 +803,30 @@ static struct mtd_part_parser *get_parti
+@@ -755,6 +755,30 @@ static struct mtd_part_parser *get_parti
#define put_partition_parser(p) do { module_put((p)->owner); } while (0)
void register_mtd_parser(struct mtd_part_parser *p)
{
spin_lock(&part_parser_lock);
-@@ -876,6 +900,38 @@ int parse_mtd_partitions(struct mtd_info
+@@ -828,6 +852,38 @@ int parse_mtd_partitions(struct mtd_info
return ret;
}