Commit 85dcd90c authored by Lennert Buytenhek's avatar Lennert Buytenhek

ARM: nuc93x: irq_data conversion.

Signed-off-by: default avatarLennert Buytenhek <buytenh@secretlab.ca>
Acked-by: default avatarWan ZongShun <mcuos.com@gmail.com>
parent 9b3ffe52
...@@ -25,9 +25,9 @@ ...@@ -25,9 +25,9 @@
#include <mach/hardware.h> #include <mach/hardware.h>
#include <mach/regs-irq.h> #include <mach/regs-irq.h>
static void nuc93x_irq_mask(unsigned int irq) static void nuc93x_irq_mask(struct irq_data *d)
{ {
__raw_writel(1 << irq, REG_AIC_MDCR); __raw_writel(1 << d->irq, REG_AIC_MDCR);
} }
/* /*
...@@ -35,21 +35,21 @@ static void nuc93x_irq_mask(unsigned int irq) ...@@ -35,21 +35,21 @@ static void nuc93x_irq_mask(unsigned int irq)
* to REG_AIC_EOSCR for ACK * to REG_AIC_EOSCR for ACK
*/ */
static void nuc93x_irq_ack(unsigned int irq) static void nuc93x_irq_ack(struct irq_data *d)
{ {
__raw_writel(0x01, REG_AIC_EOSCR); __raw_writel(0x01, REG_AIC_EOSCR);
} }
static void nuc93x_irq_unmask(unsigned int irq) static void nuc93x_irq_unmask(struct irq_data *d)
{ {
__raw_writel(1 << irq, REG_AIC_MECR); __raw_writel(1 << d->irq, REG_AIC_MECR);
} }
static struct irq_chip nuc93x_irq_chip = { static struct irq_chip nuc93x_irq_chip = {
.ack = nuc93x_irq_ack, .irq_ack = nuc93x_irq_ack,
.mask = nuc93x_irq_mask, .irq_mask = nuc93x_irq_mask,
.unmask = nuc93x_irq_unmask, .irq_unmask = nuc93x_irq_unmask,
}; };
void __init nuc93x_init_irq(void) void __init nuc93x_init_irq(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment