summaryrefslogtreecommitdiff
path: root/arch/arm/mach-davinci/pm.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-04-26 05:45:39 +0400
committerShawn Guo <shawn.guo@linaro.org>2012-05-05 10:20:01 +0400
commit3aa3e8407ae9023c5ff59bf5c81fc2553c31eb70 (patch)
tree629912c57b790fb384f262452247467390dd82ce /arch/arm/mach-davinci/pm.c
parent90de41375ccf8373c0a39d04547f3e3c65d90ec0 (diff)
downloadlinux-3aa3e8407ae9023c5ff59bf5c81fc2553c31eb70.tar.xz
ARM: davinci: use machine specific hook for late init
Cc: Kevin Hilman <khilman@ti.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/pm.c')
-rw-r--r--arch/arm/mach-davinci/pm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-davinci/pm.c b/arch/arm/mach-davinci/pm.c
index 04c49f7543ef..eb8360b33aa9 100644
--- a/arch/arm/mach-davinci/pm.c
+++ b/arch/arm/mach-davinci/pm.c
@@ -152,8 +152,7 @@ static struct platform_driver davinci_pm_driver = {
.remove = __exit_p(davinci_pm_remove),
};
-static int __init davinci_pm_init(void)
+int __init davinci_pm_init(void)
{
return platform_driver_probe(&davinci_pm_driver, davinci_pm_probe);
}
-late_initcall(davinci_pm_init);