From: Grant Likely Date: Tue, 8 Jan 2008 19:20:40 +0000 (+1100) Subject: [POWERPC] Add of_find_matching_node() helper function X-Git-Tag: v2.6.25-rc1~1131^2~133 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=283029d16a882539ab0027afd94ac52858d050b2;p=pandora-kernel.git [POWERPC] Add of_find_matching_node() helper function Similar to of_find_compatible_node(), of_find_matching_node() and for_each_matching_node() allow you to iterate over the device tree looking for specific nodes, except that they take of_device_id tables instead of strings. This also moves of_match_node() from driver/of/device.c to driver/of/base.c to colocate it with the of_find_matching_node which depends on it. Signed-off-by: Grant Likely Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed