]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Add of_find_matching_node() helper function
authorGrant Likely <grant.likely@secretlab.ca>
Tue, 8 Jan 2008 19:20:40 +0000 (06:20 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 17 Jan 2008 03:53:22 +0000 (14:53 +1100)
commit283029d16a882539ab0027afd94ac52858d050b2
tree78ad81fba51de1fbafd30706f162dc9315690e8b
parent91bbbe22dbd6d156b7059af13adb26a978a45661
[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 <grant.likely@secretlab.ca>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/ibmebus.c
arch/powerpc/kernel/of_platform.c
arch/powerpc/platforms/celleb/io-workarounds.c
arch/powerpc/platforms/celleb/pci.c
drivers/net/ibm_newemac/core.c
drivers/of/base.c
drivers/of/device.c
drivers/serial/mpc52xx_uart.c
include/linux/of.h
include/linux/of_device.h