From: John Crispin Date: Mon, 30 Apr 2012 17:30:46 +0000 (+0200) Subject: OF: MTD: make plat_nand loadable from DT X-Git-Tag: v3.5-rc1~8^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4f203512be974dbd7425f8f1d3d40720bf36997;p=pandora-kernel.git OF: MTD: make plat_nand loadable from DT This patch sets the of_match_table field inside plat_nand's platform_driver. We also add a struct mtd_part_parser_data pointer to make sure of_part parsing works. If an arch wants to support plat_nand via DT it needs to setup the platform_nand_data and hook it into the platform_device. Signed-off-by: John Crispin Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed