aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r--arch/arm/mach-shmobile/cpuidle.c4
-rw-r--r--arch/arm/mach-shmobile/pm-sh7372.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-shmobile/cpuidle.c b/arch/arm/mach-shmobile/cpuidle.c
index 9e050268cde4..068f9ca8715f 100644
--- a/arch/arm/mach-shmobile/cpuidle.c
+++ b/arch/arm/mach-shmobile/cpuidle.c
@@ -36,12 +36,12 @@ static struct cpuidle_driver shmobile_cpuidle_default_driver = {
36 36
37static struct cpuidle_driver *cpuidle_drv = &shmobile_cpuidle_default_driver; 37static struct cpuidle_driver *cpuidle_drv = &shmobile_cpuidle_default_driver;
38 38
39void shmobile_cpuidle_set_driver(struct cpuidle_driver *drv) 39void __init shmobile_cpuidle_set_driver(struct cpuidle_driver *drv)
40{ 40{
41 cpuidle_drv = drv; 41 cpuidle_drv = drv;
42} 42}
43 43
44int shmobile_cpuidle_init(void) 44int __init shmobile_cpuidle_init(void)
45{ 45{
46 struct cpuidle_device *dev = &shmobile_cpuidle_dev; 46 struct cpuidle_device *dev = &shmobile_cpuidle_dev;
47 47
diff --git a/arch/arm/mach-shmobile/pm-sh7372.c b/arch/arm/mach-shmobile/pm-sh7372.c
index a0826a48dd08..f6b14cac0076 100644
--- a/arch/arm/mach-shmobile/pm-sh7372.c
+++ b/arch/arm/mach-shmobile/pm-sh7372.c
@@ -450,12 +450,12 @@ static struct cpuidle_driver sh7372_cpuidle_driver = {
450 }, 450 },
451}; 451};
452 452
453static void sh7372_cpuidle_init(void) 453static void __init sh7372_cpuidle_init(void)
454{ 454{
455 shmobile_cpuidle_set_driver(&sh7372_cpuidle_driver); 455 shmobile_cpuidle_set_driver(&sh7372_cpuidle_driver);
456} 456}
457#else 457#else
458static void sh7372_cpuidle_init(void) {} 458static void __init sh7372_cpuidle_init(void) {}
459#endif 459#endif
460 460
461#ifdef CONFIG_SUSPEND 461#ifdef CONFIG_SUSPEND