diff options
Diffstat (limited to 'arch/arm/mach-s3c2410/pm.h')
-rw-r--r-- | arch/arm/mach-s3c2410/pm.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c2410/pm.h b/arch/arm/mach-s3c2410/pm.h index 7a5e714c7386..ffe197a119fb 100644 --- a/arch/arm/mach-s3c2410/pm.h +++ b/arch/arm/mach-s3c2410/pm.h | |||
@@ -34,13 +34,19 @@ extern unsigned long s3c_irqwake_eintmask; | |||
34 | extern unsigned long s3c_irqwake_intallow; | 34 | extern unsigned long s3c_irqwake_intallow; |
35 | extern unsigned long s3c_irqwake_eintallow; | 35 | extern unsigned long s3c_irqwake_eintallow; |
36 | 36 | ||
37 | /* per-cpu sleep functions */ | ||
38 | |||
39 | extern void (*pm_cpu_prep)(void); | ||
40 | extern void (*pm_cpu_sleep)(void); | ||
41 | |||
37 | /* Flags for PM Control */ | 42 | /* Flags for PM Control */ |
38 | 43 | ||
39 | extern unsigned long s3c_pm_flags; | 44 | extern unsigned long s3c_pm_flags; |
40 | 45 | ||
41 | /* from sleep.S */ | 46 | /* from sleep.S */ |
42 | 47 | ||
43 | extern void s3c2410_cpu_suspend(unsigned long *saveblk); | 48 | extern int s3c2410_cpu_save(unsigned long *saveblk); |
49 | extern void s3c2410_cpu_suspend(void); | ||
44 | extern void s3c2410_cpu_resume(void); | 50 | extern void s3c2410_cpu_resume(void); |
45 | 51 | ||
46 | extern unsigned long s3c2410_sleep_save_phys; | 52 | extern unsigned long s3c2410_sleep_save_phys; |
@@ -57,3 +63,11 @@ struct sleep_save { | |||
57 | 63 | ||
58 | extern void s3c2410_pm_do_save(struct sleep_save *ptr, int count); | 64 | extern void s3c2410_pm_do_save(struct sleep_save *ptr, int count); |
59 | extern void s3c2410_pm_do_restore(struct sleep_save *ptr, int count); | 65 | extern void s3c2410_pm_do_restore(struct sleep_save *ptr, int count); |
66 | |||
67 | #ifdef CONFIG_PM | ||
68 | extern int s3c24xx_irq_suspend(struct sys_device *dev, pm_message_t state); | ||
69 | extern int s3c24xx_irq_resume(struct sys_device *dev); | ||
70 | #else | ||
71 | #define s3c24xx_irq_suspend NULL | ||
72 | #define s3c24xx_irq_resume NULL | ||
73 | #endif | ||