of/address: merge of_address_to_resource()
authorGrant Likely <grant.likely@secretlab.ca>
Tue, 8 Jun 2010 13:48:09 +0000 (07:48 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Mon, 5 Jul 2010 22:14:26 +0000 (16:14 -0600)
commit1f5bef30cf6c66f097ea5dfc580a41924df888d1
tree345d9db4b6b20de814599cb7129005abd945ceea
parent6b884a8d50a6eea2fb3dad7befe748f67193073b
of/address: merge of_address_to_resource()

Merge common code between PowerPC and Microblaze.  This patch also
moves the prototype of pci_address_to_pio() out of pci-bridge.h and
into prom.h because the only user of pci_address_to_pio() is
of_address_to_resource().

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: Michal Simek <monstr@monstr.eu>
CC: Stephen Rothwell <sfr@canb.auug.org.au>
arch/microblaze/include/asm/pci-bridge.h
arch/microblaze/include/asm/prom.h
arch/microblaze/kernel/prom_parse.c
arch/powerpc/include/asm/pci-bridge.h
arch/powerpc/include/asm/prom.h
arch/powerpc/kernel/prom_parse.c
drivers/of/address.c
include/linux/of_address.h