summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/cpuidle.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-04-26 15:58:41 +0200
committerShawn Guo <shawn.guo@linaro.org>2012-05-08 14:36:35 +0200
commit21cc1b7ede3cf456cf1d51f8a906093261f7c111 (patch)
treea0e6b7cb4408bba43676db16c910edabe65ea7ce /arch/arm/mach-shmobile/cpuidle.c
parentARM: sa1100: use machine specific hook for late init (diff)
downloadlinux-21cc1b7ede3cf456cf1d51f8a906093261f7c111.tar.xz
linux-21cc1b7ede3cf456cf1d51f8a906093261f7c111.zip
ARM: shmobile: use machine specific hook for late init
Cc: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Magnus Damm <damm@opensource.se> Acked-by: "Rafael J. Wysocki" <rjw@sisk.pl>
Diffstat (limited to 'arch/arm/mach-shmobile/cpuidle.c')
-rw-r--r--arch/arm/mach-shmobile/cpuidle.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-shmobile/cpuidle.c b/arch/arm/mach-shmobile/cpuidle.c
index 7e6559105d40..7b541e911ab4 100644
--- a/arch/arm/mach-shmobile/cpuidle.c
+++ b/arch/arm/mach-shmobile/cpuidle.c
@@ -46,7 +46,7 @@ static struct cpuidle_driver shmobile_cpuidle_driver = {
void (*shmobile_cpuidle_setup)(struct cpuidle_driver *drv);
-static int shmobile_cpuidle_init(void)
+int shmobile_cpuidle_init(void)
{
struct cpuidle_device *dev = &shmobile_cpuidle_dev;
struct cpuidle_driver *drv = &shmobile_cpuidle_driver;
@@ -65,4 +65,3 @@ static int shmobile_cpuidle_init(void)
return 0;
}
-late_initcall(shmobile_cpuidle_init);