From: Shawn Guo Date: Mon, 15 Aug 2011 07:28:14 +0000 (+0800) Subject: dt: add of_alias_scan and of_alias_get_id X-Git-Tag: v3.2-rc1~150^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=611cad720148c899db5a383c1c676fd820df7023;p=pandora-kernel.git dt: add of_alias_scan and of_alias_get_id The patch adds function of_alias_scan to populate a global lookup table with the properties of 'aliases' node and function of_alias_get_id for drivers to find alias id from the lookup table. v3: Split out automatic addition of aliases on id lookup so that it can be debated separately from the core functionality. v2: - Add of_chosen/of_aliases populating and of_alias_scan() invocation for OF_PROMTREE. - Add locking - rework parse loop Signed-off-by: Shawn Guo Acked-by: David S. Miller Signed-off-by: Grant Likely --- Reading git-diff-tree failed