diff options
Diffstat (limited to 'kernel/arch/arm/mach-vexpress')
-rw-r--r-- | kernel/arch/arm/mach-vexpress/hotplug.c | 2 | ||||
-rw-r--r-- | kernel/arch/arm/mach-vexpress/spc.c | 2 | ||||
-rw-r--r-- | kernel/arch/arm/mach-vexpress/tc2_pm.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/kernel/arch/arm/mach-vexpress/hotplug.c b/kernel/arch/arm/mach-vexpress/hotplug.c index f0ce6b8f5..f2fafc10a 100644 --- a/kernel/arch/arm/mach-vexpress/hotplug.c +++ b/kernel/arch/arm/mach-vexpress/hotplug.c @@ -85,7 +85,7 @@ static inline void platform_do_lowpower(unsigned int cpu, int *spurious) * * Called with IRQs disabled */ -void __ref vexpress_cpu_die(unsigned int cpu) +void vexpress_cpu_die(unsigned int cpu) { int spurious = 0; diff --git a/kernel/arch/arm/mach-vexpress/spc.c b/kernel/arch/arm/mach-vexpress/spc.c index f61158c6c..5766ce2be 100644 --- a/kernel/arch/arm/mach-vexpress/spc.c +++ b/kernel/arch/arm/mach-vexpress/spc.c @@ -589,4 +589,4 @@ static int __init ve_spc_clk_init(void) platform_device_register_simple("vexpress-spc-cpufreq", -1, NULL, 0); return 0; } -module_init(ve_spc_clk_init); +device_initcall(ve_spc_clk_init); diff --git a/kernel/arch/arm/mach-vexpress/tc2_pm.c b/kernel/arch/arm/mach-vexpress/tc2_pm.c index b3328cd46..1aa4ccece 100644 --- a/kernel/arch/arm/mach-vexpress/tc2_pm.c +++ b/kernel/arch/arm/mach-vexpress/tc2_pm.c @@ -80,7 +80,7 @@ static void tc2_pm_cpu_powerdown_prepare(unsigned int cpu, unsigned int cluster) * to the CPU by disabling the GIC CPU IF to prevent wfi * from completing execution behind power controller back */ - gic_cpu_if_down(); + gic_cpu_if_down(0); } static void tc2_pm_cluster_powerdown_prepare(unsigned int cluster) |