ARM: Orion: Get address map from plat-orion instead of via platform_data
authorAndrew Lunn <andrew@lunn.ch>
Wed, 7 Dec 2011 20:48:07 +0000 (21:48 +0100)
committerNicolas Pitre <nico@fluxnic.net>
Tue, 13 Dec 2011 23:46:55 +0000 (18:46 -0500)
commit63a9332b232bdab0df6ef18a9f39e8d58a82bda4
tree52906e5888de9e634824d6005d9dbd3eb109bd2d
parent45173d5ed4c9a397db31623bf6469efbd3a239cd
ARM: Orion: Get address map from plat-orion instead of via platform_data

Use an getter function in plat-orion/addr-map.c to get the address map
structure, rather than pass it to drivers in the platform_data
structures. When the drivers are built for none orion platforms, a
dummy function is provided instead which returns NULL.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Michael Walle <michael@walle.cc>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
17 files changed:
arch/arm/mach-dove/pcie.c
arch/arm/mach-kirkwood/mpp.c
arch/arm/mach-kirkwood/pcie.c
arch/arm/mach-mv78xx0/mpp.c
arch/arm/mach-mv78xx0/pcie.c
arch/arm/mach-orion5x/mpp.c
arch/arm/mach-orion5x/pci.c
arch/arm/plat-orion/addr-map.c
arch/arm/plat-orion/include/plat/pcie.h
arch/arm/plat-orion/pcie.c
drivers/ata/sata_mv.c
drivers/dma/mv_xor.c
drivers/mmc/host/mvsdio.c
drivers/net/ethernet/marvell/mv643xx_eth.c
drivers/usb/host/ehci-orion.c
include/linux/mbus.h
sound/soc/kirkwood/kirkwood-dma.c