]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Consolidate of_find_property
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 24 Apr 2007 06:46:53 +0000 (16:46 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 20 Jul 2007 03:32:24 +0000 (13:32 +1000)
commit581b605a83ec241a2aff8ef780e08b9414c8dfd8
tree809640a0dc3a1bd0b5afba795cf9f6357f6e3a81
parent0081cbc3731de8ad4744ba433af51f17bf27eb9c
Consolidate of_find_property

The only change here is that a readlock is taken while the property list
is being traversed on Sparc where it was not taken previously.

Also, Sparc uses strcasecmp to compare property names while PowerPC
uses strcmp.

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