]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[ARM] 5607/1: ep93xx: Use __iomem pointer on syscon write function
authorRyan Mallon <ryan@bluewatersys.com>
Wed, 15 Jul 2009 20:51:59 +0000 (21:51 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 17 Jul 2009 12:35:59 +0000 (13:35 +0100)
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>
arch/arm/mach-ep93xx/core.c
arch/arm/mach-ep93xx/include/mach/platform.h

index 4c38941a92c7d584aca803d8b92fd4b6ba3ef2b8..b390c35f8bc1ab92fd63442c099ecd095b5b4013 100644 (file)
@@ -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;
 
index fb5e59a3ea046f1104759916941bdeea57d95fff..0af0a3ba704760d7eed176463982b245e4f3da3c 100644 (file)
@@ -17,7 +17,7 @@ void ep93xx_init_irq(void);
 void ep93xx_init_time(unsigned long);
 
 /* EP93xx System Controller software locked register write */
-void ep93xx_syscon_swlocked_write(unsigned int val, unsigned int reg);
+void ep93xx_syscon_swlocked_write(unsigned int val, void __iomem *reg);
 void ep93xx_devcfg_set_clear(unsigned int set_bits, unsigned int clear_bits);
 
 static inline void ep93xx_devcfg_set_bits(unsigned int bits)