diff options
author | Olof Johansson <olof@lixom.net> | 2011-10-09 21:05:44 -0700 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2011-10-13 14:07:38 -0700 |
commit | e748b7310f281d7bc739fcc8e8f71a8ac00614d7 (patch) | |
tree | c5b2455b7830da2eac79e4b0b1cc012df8cf2aa7 /arch/arm/mach-iop13xx | |
parent | 976d167615b64e14bc1491ca51d424e2ba9a5e84 (diff) | |
download | lwn-e748b7310f281d7bc739fcc8e8f71a8ac00614d7.tar.gz lwn-e748b7310f281d7bc739fcc8e8f71a8ac00614d7.zip |
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 <olof@lixom.net>
Acked-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-iop13xx')
0 files changed, 0 insertions, 0 deletions