summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ep93xx/core.c
diff options
context:
space:
mode:
authorRyan Mallon <ryan@bluewatersys.com>2009-07-15 21:51:59 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-07-17 13:35:59 +0100
commitfbeeea5386ab213bd55b223f3a75c823fccd6df5 (patch)
tree461a11076094589136b0bd0febb6e71c6763ef41 /arch/arm/mach-ep93xx/core.c
parent595c050d89e91e91cca3845e48b01042677bd19e (diff)
downloadblackbird-op-linux-fbeeea5386ab213bd55b223f3a75c823fccd6df5.tar.gz
blackbird-op-linux-fbeeea5386ab213bd55b223f3a75c823fccd6df5.zip
[ARM] 5607/1: ep93xx: Use __iomem pointer on syscon write function
Change the reg argument of the ep93xx_syscon_swlocked_write function to be an __iomem pointer. Fixes a number of build warnings. Signed-off-by: Ryan Mallon <ryan@bluewatersys.com> Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-ep93xx/core.c')
-rw-r--r--arch/arm/mach-ep93xx/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-ep93xx/core.c b/arch/arm/mach-ep93xx/core.c
index 4c38941a92c7..b390c35f8bc1 100644
--- a/arch/arm/mach-ep93xx/core.c
+++ b/arch/arm/mach-ep93xx/core.c
@@ -377,7 +377,7 @@ void __init ep93xx_init_irq(void)
*/
static DEFINE_SPINLOCK(syscon_swlock);
-void ep93xx_syscon_swlocked_write(unsigned int val, unsigned int reg)
+void ep93xx_syscon_swlocked_write(unsigned int val, void __iomem *reg)
{
unsigned long flags;
OpenPOWER on IntegriCloud