of/address: Clean up function declarations
commit22ae782f86b726f9cea752c0f269ff6dcdf2f6e1
authorGrant Likely <grant.likely@secretlab.ca>
Thu, 29 Jul 2010 17:49:01 +0000 (29 11:49 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Sun, 1 Aug 2010 07:42:42 +0000 (1 01:42 -0600)
tree9458a01b24d65fa2eab27ad5bdb2fa399b3c389f
parent12b15e83289bc7cf2ec9a342412e0c955beeb395
of/address: Clean up function declarations

This patch moves the declaration of of_get_address(), of_get_pci_address(),
and of_pci_address_to_resource() out of arch code and into the common
linux/of_address header file.

This patch also fixes some of the asm/prom.h ordering issues.  It still
includes some header files that it ideally shouldn't be, but at least the
ordering is consistent now so that of_* overrides work.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
21 files changed:
arch/microblaze/include/asm/prom.h
arch/powerpc/include/asm/prom.h
arch/powerpc/kernel/legacy_serial.c
arch/powerpc/kernel/pci-common.c
arch/powerpc/platforms/52xx/lite5200.c
arch/powerpc/platforms/amigaone/setup.c
arch/powerpc/platforms/iseries/mf.c
arch/powerpc/platforms/powermac/feature.c
arch/powerpc/sysdev/bestcomm/sram.c
arch/powerpc/sysdev/fsl_gtm.c
drivers/char/bsr.c
drivers/net/fsl_pq_mdio.c
drivers/net/xilinx_emaclite.c
drivers/serial/uartlite.c
drivers/spi/mpc512x_psc_spi.c
drivers/spi/mpc52xx_psc_spi.c
drivers/spi/xilinx_spi_of.c
drivers/usb/gadget/fsl_qe_udc.c
drivers/video/controlfb.c
drivers/video/offb.c
include/linux/of_address.h