]> git.karo-electronics.de Git - linux-beck.git/commit
mtd: prepare to convert of_mtd_parse_partitions to partition parser
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Sun, 29 May 2011 17:32:33 +0000 (21:32 +0400)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Sun, 11 Sep 2011 12:02:10 +0000 (15:02 +0300)
commitd26c87d64eff271146b40b66c7de8cfeaf956707
tree7ca79171866e124522212cd92256016db6b8fecf
parentc7975330154af17aecc167b33ca866b6b3d98918
mtd: prepare to convert of_mtd_parse_partitions to partition parser

Prepare to convert of_mtd_parse_partitions() to usual partitions parser:
1) Register ofpart parser
2) Internally don't use passed device for error printing
3) Add device_node to mtd_part_parser_data struct
4) Move of_mtd_parse_partitions from __devinit to common text section
5) add ofpart to the default list of partition parsers

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Artem Bityutskiy <dedekind1@gmail.com>
drivers/mtd/mtdpart.c
drivers/mtd/ofpart.c
include/linux/mtd/partitions.h