diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-08-09 03:09:15 -0400 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2013-08-12 05:28:29 -0400 |
commit | 3e0c190dbf51f587ac78b3b1bcd85648a7dbe166 (patch) | |
tree | 3c7ffbb900764dd7fba4ca8be7df2bfcd1416d95 /drivers/cpuidle | |
parent | c78e43601b8f6d06bd92753e5f4ae51e4d6a1284 (diff) |
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
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/cpuidle')
-rw-r--r-- | drivers/cpuidle/cpuidle-calxeda.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpuidle/cpuidle-calxeda.c b/drivers/cpuidle/cpuidle-calxeda.c index 0e6e408c0a63..346058479572 100644 --- a/drivers/cpuidle/cpuidle-calxeda.c +++ b/drivers/cpuidle/cpuidle-calxeda.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <asm/cp15.h> | 35 | #include <asm/cp15.h> |
36 | 36 | ||
37 | extern void highbank_set_cpu_jump(int cpu, void *jump_addr); | 37 | extern void highbank_set_cpu_jump(int cpu, void *jump_addr); |
38 | extern void *scu_base_addr; | 38 | extern void __iomem *scu_base_addr; |
39 | 39 | ||
40 | static noinline void calxeda_idle_restore(void) | 40 | static noinline void calxeda_idle_restore(void) |
41 | { | 41 | { |