aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-08-14 16:18:43 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-08-14 16:18:43 -0400
commitf1618a7a27df4f7870c1d5f25f0aba62b52069a2 (patch)
tree1f3c1b2d1005814a9e862ba2f8596f665d780948
parentee42f75dba3c66e559a13ac86ad1889d2a396378 (diff)
parent75d6137da195a1e059e1c814cb95635e168f85c0 (diff)
Merge branch 'cpuidle/arm-next' of git://git.linaro.org/people/dlezcano/linux into pm-cpuidle
Pull ARM cpuidle updates from Daniel Lezcano. * 'cpuidle/arm-next' of git://git.linaro.org/people/dlezcano/linux: cpuidle: kirkwood: Make kirkwood_cpuidle_remove function static cpuidle: calxeda: Add missing __iomem annotation SH: cpuidle: Add missing parameter for cpuidle_register()
-rw-r--r--arch/sh/kernel/cpu/shmobile/cpuidle.c4
-rw-r--r--drivers/cpuidle/cpuidle-calxeda.c2
-rw-r--r--drivers/cpuidle/cpuidle-kirkwood.c2
3 files changed, 3 insertions, 5 deletions
diff --git a/arch/sh/kernel/cpu/shmobile/cpuidle.c b/arch/sh/kernel/cpu/shmobile/cpuidle.c
index d30622592116..e3abfd4277e2 100644
--- a/arch/sh/kernel/cpu/shmobile/cpuidle.c
+++ b/arch/sh/kernel/cpu/shmobile/cpuidle.c
@@ -91,13 +91,11 @@ static struct cpuidle_driver cpuidle_driver = {
91 91
92int __init sh_mobile_setup_cpuidle(void) 92int __init sh_mobile_setup_cpuidle(void)
93{ 93{
94 int ret;
95
96 if (sh_mobile_sleep_supported & SUSP_SH_SF) 94 if (sh_mobile_sleep_supported & SUSP_SH_SF)
97 cpuidle_driver.states[1].disabled = false; 95 cpuidle_driver.states[1].disabled = false;
98 96
99 if (sh_mobile_sleep_supported & SUSP_SH_STANDBY) 97 if (sh_mobile_sleep_supported & SUSP_SH_STANDBY)
100 cpuidle_driver.states[2].disabled = false; 98 cpuidle_driver.states[2].disabled = false;
101 99
102 return cpuidle_register(&cpuidle_driver); 100 return cpuidle_register(&cpuidle_driver, NULL);
103} 101}
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
37extern void highbank_set_cpu_jump(int cpu, void *jump_addr); 37extern void highbank_set_cpu_jump(int cpu, void *jump_addr);
38extern void *scu_base_addr; 38extern void __iomem *scu_base_addr;
39 39
40static noinline void calxeda_idle_restore(void) 40static noinline void calxeda_idle_restore(void)
41{ 41{
diff --git a/drivers/cpuidle/cpuidle-kirkwood.c b/drivers/cpuidle/cpuidle-kirkwood.c
index 521b0a7fdd89..3ca3a2e694dd 100644
--- a/drivers/cpuidle/cpuidle-kirkwood.c
+++ b/drivers/cpuidle/cpuidle-kirkwood.c
@@ -70,7 +70,7 @@ static int kirkwood_cpuidle_probe(struct platform_device *pdev)
70 return cpuidle_register(&kirkwood_idle_driver, NULL); 70 return cpuidle_register(&kirkwood_idle_driver, NULL);
71} 71}
72 72
73int kirkwood_cpuidle_remove(struct platform_device *pdev) 73static int kirkwood_cpuidle_remove(struct platform_device *pdev)
74{ 74{
75 cpuidle_unregister(&kirkwood_idle_driver); 75 cpuidle_unregister(&kirkwood_idle_driver);
76 return 0; 76 return 0;