summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/common.h
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-04-26 10:35:40 +0800
committerShawn Guo <shawn.guo@linaro.org>2012-05-08 20:35:33 +0800
commitbb13fabcca35fbce73f8cfbf238dacfa2a223006 (patch)
tree5dc3bd2f307e83fc984a0804cd92de9c39db6b3b /arch/arm/mach-exynos/common.h
parentc914283f5e5f55ddf770b8632a5e65e5aa24343e (diff)
downloadblackbird-op-linux-bb13fabcca35fbce73f8cfbf238dacfa2a223006.tar.gz
blackbird-op-linux-bb13fabcca35fbce73f8cfbf238dacfa2a223006.zip
ARM: exynos: use machine specific hook for late init
Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos/common.h')
-rw-r--r--arch/arm/mach-exynos/common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/common.h b/arch/arm/mach-exynos/common.h
index 677b5467df18..aed2eeb06517 100644
--- a/arch/arm/mach-exynos/common.h
+++ b/arch/arm/mach-exynos/common.h
@@ -19,6 +19,13 @@ void exynos4_init_irq(void);
void exynos5_init_irq(void);
void exynos4_restart(char mode, const char *cmd);
void exynos5_restart(char mode, const char *cmd);
+void exynos_init_late(void);
+
+#ifdef CONFIG_PM_GENERIC_DOMAINS
+int exynos_pm_late_initcall(void);
+#else
+static int exynos_pm_late_initcall(void) { return 0; }
+#endif
#ifdef CONFIG_ARCH_EXYNOS4
void exynos4_register_clocks(void);
OpenPOWER on IntegriCloud