summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c64xx/common.h
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-04-26 21:08:52 +0800
committerShawn Guo <shawn.guo@linaro.org>2012-05-08 20:36:24 +0800
commitcc8f252b713e9c7170bcf6346638dbf6d489d775 (patch)
treee205665a978789b256a37906b3272688ca889224 /arch/arm/mach-s3c64xx/common.h
parenta4b4674e26da6b2c40f5b6485e165beb8f68d335 (diff)
ARM: s3c64xx: use machine specific hook for late init
Cc: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c64xx/common.h')
-rw-r--r--arch/arm/mach-s3c64xx/common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c64xx/common.h b/arch/arm/mach-s3c64xx/common.h
index 7a10be629ab..6cfc99bdfb3 100644
--- a/arch/arm/mach-s3c64xx/common.h
+++ b/arch/arm/mach-s3c64xx/common.h
@@ -24,6 +24,7 @@ void s3c64xx_register_clocks(unsigned long xtal, unsigned armclk_limit);
void s3c64xx_setup_clocks(void);
void s3c64xx_restart(char mode, const char *cmd);
+void s3c64xx_init_late(void);
#ifdef CONFIG_CPU_S3C6400
@@ -51,4 +52,10 @@ extern void s3c6410_init_clocks(int xtal);
#define s3c6410_init NULL
#endif
+#ifdef CONFIG_PM
+int __init s3c64xx_pm_late_initcall(void);
+#else
+static inline int s3c64xx_pm_late_initcall(void) { return 0; }
+#endif
+
#endif /* __ARCH_ARM_MACH_S3C64XX_COMMON_H */