Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3e0c190d authored by Jingoo Han's avatar Jingoo Han Committed by Daniel Lezcano
Browse files

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: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent c78e4360
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -35,7 +35,7 @@
#include <asm/cp15.h>
#include <asm/cp15.h>


extern void highbank_set_cpu_jump(int cpu, void *jump_addr);
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)
static noinline void calxeda_idle_restore(void)
{
{