From: Josh Wu Date: Mon, 5 Aug 2013 11:14:38 +0000 (+0800) Subject: mtd: ofpart: add compatible check for child nodes X-Git-Tag: v3.12-rc1~82^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e79265ba6bdb31437bd4c3e7911950f9d1262a07;p=pandora-kernel.git mtd: ofpart: add compatible check for child nodes In case that the nand device will support some features like Nand Flash Controller, we want to make the sub feature as a sub node of nand device. Use such organization it is easy to enable/disable feature, also it is back compatible and more readable. If the sub-node has a compatible property then it is a driver not partition. Signed-off-by: Josh Wu Acked-by: Brian Norris Acked-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Artem Bityutskiy [ added a missing newline -Brian ] Signed-off-by: Brian Norris Signed-off-by: David Woodhouse --- Reading git-diff-tree failed