aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/prom_parse.c
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2008-11-12 13:54:42 -0500
committerPaul Mackerras <paulus@samba.org>2008-11-19 00:05:00 -0500
commit1e291b14c8f1101b9093434489bd4dc0e03f3d0f (patch)
treeea602cce082e847d693b021d83f1314e9494c9a9 /arch/powerpc/kernel/prom_parse.c
parentae564c63b8311fa73c21e456e00dba1f4b1ff6bc (diff)
of: Add helpers for finding device nodes which have a given property
This commit adds a routine for finding a device node which has a certain property. The contents of the property are not taken into account, merely the presence or absence of the property. Based on that routine, we add a for_each_ macro for iterating over all nodes that have a certain property. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/prom_parse.c')
0 files changed, 0 insertions, 0 deletions