]> err.no Git - linux-2.6/commit
[PATCH] powerpc: add for_each_node_by_foo helpers
authorChristoph Hellwig <hch@lst.de>
Wed, 8 Mar 2006 15:47:00 +0000 (16:47 +0100)
committerPaul Mackerras <paulus@samba.org>
Fri, 17 Mar 2006 02:21:09 +0000 (13:21 +1100)
commite33852228f74b8ccbed8595083bb725b70902ed7
treea73484a589b2d2f20d82f591d823b98a021cd4b1
parentd116fe5aeafd8226712d2de9c69428725ca74474
[PATCH] powerpc: add for_each_node_by_foo helpers

Typical use for of_find_node_by_name and of_find_node_by_type is to
iterate over all nodes of a given type/name.  Add a helper macro to
do that (in spirit of the list_for_each* macros).

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
include/asm-powerpc/prom.h