aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/pm_runtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-shmobile/pm_runtime.c')
-rw-r--r--arch/arm/mach-shmobile/pm_runtime.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/pm_runtime.c b/arch/arm/mach-shmobile/pm_runtime.c
index 2bcde1c46a6b..2f6ded5712ee 100644
--- a/arch/arm/mach-shmobile/pm_runtime.c
+++ b/arch/arm/mach-shmobile/pm_runtime.c
@@ -56,3 +56,13 @@ static int __init sh_pm_runtime_init(void)
return 0;
}
core_initcall(sh_pm_runtime_init);
+
+void (*shmobile_runtime_pm_late_init)(void);
+
+static int __init sh_pm_runtime_late_init(void)
+{
+ if (shmobile_runtime_pm_late_init)
+ shmobile_runtime_pm_late_init();
+ return 0;
+}
+late_initcall(sh_pm_runtime_late_init);