summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-samsung/include/plat/pm.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-12-02 06:35:38 +0100
committerKukjin Kim <kgene.kim@samsung.com>2010-12-30 01:36:52 +0100
commitf5aeffb784f35f82b048969a4d7bcca42c783c84 (patch)
tree7f6a3b4361787748790248a9f31833fc4b2f8fa6 /arch/arm/plat-samsung/include/plat/pm.h
parentLinux 2.6.37-rc8 (diff)
downloadlinux-f5aeffb784f35f82b048969a4d7bcca42c783c84.tar.xz
linux-f5aeffb784f35f82b048969a4d7bcca42c783c84.zip
ARM: SAMSUNG: Convert s3c_irqext_wake() to new irq_ interrupt methods
Kernel 2.6.37 adds new interrupt methods which take a struct irq_data rather than an irq number. Begin converting Samsung platforms over to these methods by converting s3c_irqext_wake() with a simple textual substitution. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/plat-samsung/include/plat/pm.h')
-rw-r--r--arch/arm/plat-samsung/include/plat/pm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/plat-samsung/include/plat/pm.h b/arch/arm/plat-samsung/include/plat/pm.h
index 245836d91931..d9025e377675 100644
--- a/arch/arm/plat-samsung/include/plat/pm.h
+++ b/arch/arm/plat-samsung/include/plat/pm.h
@@ -15,6 +15,8 @@
* management
*/
+#include <linux/irq.h>
+
#ifdef CONFIG_PM
extern __init int s3c_pm_init(void);
@@ -100,7 +102,7 @@ extern void s3c_pm_do_restore(struct sleep_save *ptr, int count);
extern void s3c_pm_do_restore_core(struct sleep_save *ptr, int count);
#ifdef CONFIG_PM
-extern int s3c_irqext_wake(unsigned int irqno, unsigned int state);
+extern int s3c_irqext_wake(struct irq_data *data, unsigned int state);
extern int s3c24xx_irq_suspend(struct sys_device *dev, pm_message_t state);
extern int s3c24xx_irq_resume(struct sys_device *dev);
#else