diff options
author | Lennert Buytenhek <buytenh@secretlab.ca> | 2010-12-14 22:55:26 +0100 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-01-03 19:18:16 +0900 |
commit | bb0b2374677b0678e671254112a326135522aba7 (patch) | |
tree | 36b15c066c93ac9bc17107eeaac54abacc6cc8c8 /arch/arm/plat-s5p/irq-pm.c | |
parent | 57436c2db4426c5dcbaaba0acd5204f5fa71b762 (diff) |
ARM: S5P: irq_data conversion
Signed-off-by: Lennert Buytenhek <buytenh@secretlab.ca>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/plat-s5p/irq-pm.c')
-rw-r--r-- | arch/arm/plat-s5p/irq-pm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/plat-s5p/irq-pm.c b/arch/arm/plat-s5p/irq-pm.c index dc33b9ecda4..5259ad458bc 100644 --- a/arch/arm/plat-s5p/irq-pm.c +++ b/arch/arm/plat-s5p/irq-pm.c @@ -37,14 +37,14 @@ unsigned long s3c_irqwake_intallow = 0x00000006L; unsigned long s3c_irqwake_eintallow = 0xffffffffL; -int s3c_irq_wake(unsigned int irqno, unsigned int state) +int s3c_irq_wake(struct irq_data *data, unsigned int state) { unsigned long irqbit; - switch (irqno) { + switch (data->irq) { case IRQ_RTC_TIC: case IRQ_RTC_ALARM: - irqbit = 1 << (irqno + 1 - IRQ_RTC_ALARM); + irqbit = 1 << (data->irq + 1 - IRQ_RTC_ALARM); if (!state) s3c_irqwake_intmask |= irqbit; else |