aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-s3c/include
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2008-12-11 19:24:12 -0500
committerBen Dooks <ben-linux@fluff.org>2009-03-08 08:35:36 -0400
commit56b34426888d35b3b6367c216bbfb17b82b4f0ac (patch)
tree435ec8f8856f222a95dd7c83ace6c01806ba8e5b /arch/arm/plat-s3c/include
parent7299a40918e15d5f9b4bc7fcb02163c335d92e43 (diff)
[ARM] S3C: Make IRQ_EINT sleep control common
Move the IRQ_EINT sleep control to be available to all s3c impelmentations. Since s3c_irqext_wake is not large, place it in arch/arm/plat-s3c/pm.c as adding it to a new file would be a waste of compile time. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s3c/include')
-rw-r--r--arch/arm/plat-s3c/include/plat/pm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-s3c/include/plat/pm.h b/arch/arm/plat-s3c/include/plat/pm.h
index 42c75e6d2ba5..5e27de955da0 100644
--- a/arch/arm/plat-s3c/include/plat/pm.h
+++ b/arch/arm/plat-s3c/include/plat/pm.h
@@ -77,9 +77,11 @@ extern void s3c_pm_do_restore(struct sleep_save *ptr, int count);
77extern void s3c_pm_do_restore_core(struct sleep_save *ptr, int count); 77extern void s3c_pm_do_restore_core(struct sleep_save *ptr, int count);
78 78
79#ifdef CONFIG_PM 79#ifdef CONFIG_PM
80extern int s3c_irqext_wake(unsigned int irqno, unsigned int state);
80extern int s3c24xx_irq_suspend(struct sys_device *dev, pm_message_t state); 81extern int s3c24xx_irq_suspend(struct sys_device *dev, pm_message_t state);
81extern int s3c24xx_irq_resume(struct sys_device *dev); 82extern int s3c24xx_irq_resume(struct sys_device *dev);
82#else 83#else
84#define s3c_irqext_wake NULL
83#define s3c24xx_irq_suspend NULL 85#define s3c24xx_irq_suspend NULL
84#define s3c24xx_irq_resume NULL 86#define s3c24xx_irq_resume NULL
85#endif 87#endif