From: Andrew Lunn Date: Wed, 7 Dec 2011 20:48:07 +0000 (+0100) Subject: ARM: Orion: Get address map from plat-orion instead of via platform_data X-Git-Tag: firefly_0821_release~3680^2~3791^2~5^2~1 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=63a9332b232bdab0df6ef18a9f39e8d58a82bda4;p=firefly-linux-kernel-4.4.55.git 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 Tested-by: Michael Walle Acked-by: Nicolas Pitre Signed-off-by: Nicolas Pitre --- diff --git a/arch/arm/mach-dove/pcie.c b/arch/arm/mach-dove/pcie.c index 42e7d22a00f5..6c11a4df7178 100644 --- a/arch/arm/mach-dove/pcie.c +++ b/arch/arm/mach-dove/pcie.c @@ -10,7 +10,6 @@ #include #include -#include #include