[POWERPC] bootwrapper: Add find_node_by_compatible
authorKumar Gala <galak@kernel.crashing.org>
Fri, 25 Jan 2008 04:41:05 +0000 (22:41 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Sun, 27 Jan 2008 20:07:37 +0000 (14:07 -0600)
commitb3bea15d29799797d1486aeddf883404a2e05c81
treed8ddcaa66e27a0b367d50c9d32e389c41d580322
parent03a16b27bd30f22d88f570585551925248469f84
[POWERPC] bootwrapper: Add find_node_by_compatible

Add the ability to find a device node by just what its compatible with.
This is useful in cases that we don't have a prop to find the node with.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/boot/libfdt-wrapper.c
arch/powerpc/boot/ops.h