Skip to contentSkip to conversation

cpuidle: calxeda: add missing __iomem annotation

PATCH In review Jingoo Han 1 participant 1 message Aug 9, 2013 CPU idle time management framework

lore
Share & tools
lore

Jingoo Han

author
#0 lore raw

PATCH 1/2 cpuidle: calxeda: add missing __iomem annotation

Added missing __iomem annotation in order to fix the following sparse warnings:

drivers/cpuidle/cpuidle-calxeda.c:44:24: warning: incorrect type in argument 1 (different address spaces)
drivers/cpuidle/cpuidle-calxeda.c:44:24: expected void [noderef] <asn:2>*<noident>
drivers/cpuidle/cpuidle-calxeda.c:44:24: got void *extern [addressable] [toplevel] scu_base_addr
drivers/cpuidle/cpuidle-calxeda.c:56:24: warning: incorrect type in argument 1 (different address spaces)
drivers/cpuidle/cpuidle-calxeda.c:56:24: expected void [noderef] <asn:2>*<noident>
drivers/cpuidle/cpuidle-calxeda.c:56:24: got void *extern [addressable] [toplevel] scu_base_addr

---
 drivers/cpuidle/cpuidle-calxeda.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/cpuidle/cpuidle-calxeda.c +1 -1
index 0e6e408..3460584 100644
@@ -35,7 +35,7 @@
 #include <asm/cp15.h>
 
 extern void highbank_set_cpu_jump(int cpu, void *jump_addr);
-extern void *scu_base_addr;
+extern void __iomem *scu_base_addr;
 
 static noinline void calxeda_idle_restore(void)
 {
Signature · 1 line
1.7.10.4