summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-sa1100/generic.h
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-04-26 15:22:45 +0200
committerShawn Guo <shawn.guo@linaro.org>2012-05-08 14:36:34 +0200
commit7fea1ba58e61c17fb59dfc50c408945f307addc6 (patch)
tree2403b16b9ea948964dfd3b2df8fb13eb0b84e652 /arch/arm/mach-sa1100/generic.h
parentARM: s3c64xx: use machine specific hook for late init (diff)
downloadlinux-7fea1ba58e61c17fb59dfc50c408945f307addc6.tar.xz
linux-7fea1ba58e61c17fb59dfc50c408945f307addc6.zip
ARM: sa1100: use machine specific hook for late init
Cc: Russell King <linux@arm.linux.org.uk> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-sa1100/generic.h')
-rw-r--r--arch/arm/mach-sa1100/generic.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-sa1100/generic.h b/arch/arm/mach-sa1100/generic.h
index 9eb3b3cd5a63..a5b7c13da3e3 100644
--- a/arch/arm/mach-sa1100/generic.h
+++ b/arch/arm/mach-sa1100/generic.h
@@ -11,6 +11,7 @@ extern void __init sa1100_map_io(void);
extern void __init sa1100_init_irq(void);
extern void __init sa1100_init_gpio(void);
extern void sa11x0_restart(char, const char *);
+extern void sa11x0_init_late(void);
#define SET_BANK(__nr,__start,__size) \
mi->bank[__nr].start = (__start), \
@@ -41,3 +42,9 @@ void sa11x0_register_mcp(struct mcp_plat_data *data);
struct sa1100fb_mach_info;
void sa11x0_register_lcd(struct sa1100fb_mach_info *inf);
+
+#ifdef CONFIG_PM
+int sa11x0_pm_init(void);
+#else
+static inline int sa11x0_pm_init(void) { return 0; }
+#endif