]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Consolidate of_find_node_by routines
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 24 Apr 2007 07:57:33 +0000 (17:57 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 20 Jul 2007 03:39:06 +0000 (13:39 +1000)
commit1ef4d4242d9c494c49ae1ae66dc938fce0272816
tree74c64ec940b306b5d1e7bb93a980041ad670468d
parentd1cd355a5e44dfe993efc0c0458ca9f99a28a9a3
Consolidate of_find_node_by routines

This consolidates the routines of_find_node_by_path, of_find_node_by_name,
of_find_node_by_type and of_find_compatible_device.  Again, the comparison
of strings are done differently by Sparc and PowerPC and also these add
read_locks around the iterations.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Paul Mackerras <paulus@samba.org>
Acked-by: David S. Miller <davem@davemloft.net>
arch/powerpc/kernel/prom.c
arch/sparc/kernel/prom.c
arch/sparc64/kernel/prom.c
drivers/of/base.c
include/asm-powerpc/prom.h
include/asm-sparc/prom.h
include/asm-sparc64/prom.h