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: v3.3-rc1~139^2~5^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63a9332b232bdab0df6ef18a9f39e8d58a82bda4;p=pandora-kernel.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 --- Reading git-diff-tree failed