diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2013-04-03 12:15:15 +0000 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-04-08 22:20:05 +0200 |
commit | d50470979090bb5fa6c198d0ef87276658deb5f9 (patch) | |
tree | 7af82cfa3be8b1fed483bbbb27b6cc99628f7ae3 /arch/arm/mach-shmobile/pm-sh7372.c | |
parent | b6269efb146eb8770d753e3dc1c561f1cffb631a (diff) | |
download | op-kernel-dev-d50470979090bb5fa6c198d0ef87276658deb5f9.zip op-kernel-dev-d50470979090bb5fa6c198d0ef87276658deb5f9.tar.gz |
ARM: shmobile: pm: fix init sections
Add the __init section for the functions which are called
at init time.
Signed-off-by: Daniel Lezcano <daniel.linaro.org>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'arch/arm/mach-shmobile/pm-sh7372.c')
-rw-r--r-- | arch/arm/mach-shmobile/pm-sh7372.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-shmobile/pm-sh7372.c b/arch/arm/mach-shmobile/pm-sh7372.c index a0826a4..f6b14ca 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 = { }, }; -static void sh7372_cpuidle_init(void) +static void __init sh7372_cpuidle_init(void) { shmobile_cpuidle_set_driver(&sh7372_cpuidle_driver); } #else -static void sh7372_cpuidle_init(void) {} +static void __init sh7372_cpuidle_init(void) {} #endif #ifdef CONFIG_SUSPEND |