summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mxs/pm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mxs/pm.c')
-rw-r--r--arch/arm/mach-mxs/pm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-mxs/pm.c b/arch/arm/mach-mxs/pm.c
index a9b4bbcdafb4..b2494d2db2c4 100644
--- a/arch/arm/mach-mxs/pm.c
+++ b/arch/arm/mach-mxs/pm.c
@@ -34,9 +34,7 @@ static struct platform_suspend_ops mxs_suspend_ops = {
.valid = suspend_valid_only_mem,
};
-static int __init mxs_pm_init(void)
+void __init mxs_pm_init(void)
{
suspend_set_ops(&mxs_suspend_ops);
- return 0;
}
-device_initcall(mxs_pm_init);