diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2008-11-12 18:54:42 +0000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-11-19 16:05:00 +1100 |
commit | 1e291b14c8f1101b9093434489bd4dc0e03f3d0f (patch) | |
tree | ea602cce082e847d693b021d83f1314e9494c9a9 /arch/powerpc/kernel/prom_parse.c | |
parent | ae564c63b8311fa73c21e456e00dba1f4b1ff6bc (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