]> git.karo-electronics.de Git - karo-tx-linux.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>
Tue, 16 Aug 2011 13:44:48 +0000 (16:44 +0300)
commit7ad974adb05a56f9d6cf1b58ff9b07a4be99d1f8
tree5f086893efa9ca84572c2b2b186f5c24370d5332
parent40c11805393c33b477977a9bdc5d44ec875a9aa1
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