From: Olof Johansson Date: Mon, 10 Oct 2011 04:05:44 +0000 (-0700) Subject: ARM: tegra: annotate IO_*_VIRT pointers X-Git-Tag: v3.2-rc1~98^2~3^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e748b7310f281d7bc739fcc8e8f71a8ac00614d7;p=pandora-kernel.git ARM: tegra: annotate IO_*_VIRT pointers Provide __iomem annotation for IO_*_VIRT pointers, which will propagate up through IO_TO_VIRT(). Also fixes a 0 to NULL conversion of the base case to silence sparse. Unfortunately map_desc takes an unsigned long for the pointer instead of a void __iomem *. For now, cast explicitly for those cases. v2: change define to use IOMEM() like many other mach platforms per comment from Russell. Signed-off-by: Olof Johansson Acked-by: Stephen Warren Acked-by: Arnd Bergmann --- Reading git-diff-tree failed