aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-prima2/common.h
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-04-26 20:51:36 +0800
committerShawn Guo <shawn.guo@linaro.org>2012-05-08 20:36:22 +0800
commita4b4674e26da6b2c40f5b6485e165beb8f68d335 (patch)
tree7cd21196e22b24b3aa9c8b22e9e7fa6ad99faad4 /arch/arm/mach-prima2/common.h
parentcafa61907cb0aabbedf3c248f197130dc5332147 (diff)
ARM: prima2: use machine specific hook for late init
Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Reviewed-by: Barry Song <baohua.song@csr.com>
Diffstat (limited to 'arch/arm/mach-prima2/common.h')
-rw-r--r--arch/arm/mach-prima2/common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-prima2/common.h b/arch/arm/mach-prima2/common.h
index b28a930d4f8a..60d826fc2185 100644
--- a/arch/arm/mach-prima2/common.h
+++ b/arch/arm/mach-prima2/common.h
@@ -24,4 +24,10 @@ static inline void sirfsoc_map_lluart(void) {}
extern void __init sirfsoc_map_lluart(void);
#endif
+#ifdef CONFIG_SUSPEND
+extern int sirfsoc_pm_init(void);
+#else
+static inline int sirfsoc_pm_init(void) { return 0; }
+#endif
+
#endif