diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-04-26 15:08:52 +0200 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2012-05-08 14:36:24 +0200 |
commit | cc8f252b713e9c7170bcf6346638dbf6d489d775 (patch) | |
tree | e205665a978789b256a37906b3272688ca889224 /arch/arm/mach-s3c64xx/common.h | |
parent | ARM: prima2: use machine specific hook for late init (diff) | |
download | linux-cc8f252b713e9c7170bcf6346638dbf6d489d775.tar.xz linux-cc8f252b713e9c7170bcf6346638dbf6d489d775.zip |
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.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c64xx/common.h b/arch/arm/mach-s3c64xx/common.h index 7a10be629aba..6cfc99bdfb37 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 */ |