]> git.baikalelectronics.ru Git - kernel.git/commit
arm: mach-mvebu: use IOMEM() for base address definitions
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 11 Sep 2012 12:27:22 +0000 (14:27 +0200)
committerJason Cooper <jason@lakedaemon.net>
Fri, 21 Sep 2012 18:04:05 +0000 (18:04 +0000)
commit08394eca05abc4bd23a988ec9624f73ffc01d737
tree79b1634dddc4de7ff8cb5fc758582a7422f595a7
parent2d4ef1c5afd71ec7c562a8f1d30655eceb291acc
arm: mach-mvebu: use IOMEM() for base address definitions

We now define all virtual base address constants using IOMEM() so that
those are naturally typed as void __iomem pointers, and we do the
necessary adjustements in the mach-mvebu code.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-mvebu/armada-370-xp.c
arch/arm/mach-mvebu/include/mach/armada-370-xp.h