summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-prima2/common.h
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-04-26 14:51:36 +0200
committerShawn Guo <shawn.guo@linaro.org>2012-05-08 14:36:22 +0200
commita4b4674e26da6b2c40f5b6485e165beb8f68d335 (patch)
tree7cd21196e22b24b3aa9c8b22e9e7fa6ad99faad4 /arch/arm/mach-prima2/common.h
parentARM: pnx4008: use machine specific hook for late init (diff)
downloadlinux-a4b4674e26da6b2c40f5b6485e165beb8f68d335.tar.xz
linux-a4b4674e26da6b2c40f5b6485e165beb8f68d335.zip
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