diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-06 18:39:14 -0500 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2011-03-15 07:01:52 -0400 |
commit | be497ddfd0d8a0aa3a84c41bb84bf10d2cb7cb7d (patch) | |
tree | a767734df362ad884c87851d3afc57dd23c6852c /arch/m68knommu/platform | |
parent | 39a17940abc4d069cbb33865e967dcc7ef1bf452 (diff) |
m68knommu: Convert 68360 ints irq_chip to new functions
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68knommu/platform')
-rw-r--r-- | arch/m68knommu/platform/68360/ints.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/arch/m68knommu/platform/68360/ints.c b/arch/m68knommu/platform/68360/ints.c index a29041c1a8a0..8de3feb568c6 100644 --- a/arch/m68knommu/platform/68360/ints.c +++ b/arch/m68knommu/platform/68360/ints.c | |||
@@ -37,26 +37,26 @@ extern void *_ramvec[]; | |||
37 | /* The number of spurious interrupts */ | 37 | /* The number of spurious interrupts */ |
38 | volatile unsigned int num_spurious; | 38 | volatile unsigned int num_spurious; |
39 | 39 | ||
40 | static void intc_irq_unmask(unsigned int irq) | 40 | static void intc_irq_unmask(struct irq_data *d) |
41 | { | 41 | { |
42 | pquicc->intr_cimr |= (1 << irq); | 42 | pquicc->intr_cimr |= (1 << d->irq); |
43 | } | 43 | } |
44 | 44 | ||
45 | static void intc_irq_mask(unsigned int irq) | 45 | static void intc_irq_mask(struct irq_data *d) |
46 | { | 46 | { |
47 | pquicc->intr_cimr &= ~(1 << irq); | 47 | pquicc->intr_cimr &= ~(1 << d->irq); |
48 | } | 48 | } |
49 | 49 | ||
50 | static void intc_irq_ack(unsigned int irq) | 50 | static void intc_irq_ack(struct irq_data *d) |
51 | { | 51 | { |
52 | pquicc->intr_cisr = (1 << irq); | 52 | pquicc->intr_cisr = (1 << d->irq); |
53 | } | 53 | } |
54 | 54 | ||
55 | static struct irq_chip intc_irq_chip = { | 55 | static struct irq_chip intc_irq_chip = { |
56 | .name = "M68K-INTC", | 56 | .name = "M68K-INTC", |
57 | .mask = intc_irq_mask, | 57 | .irq_mask = intc_irq_mask, |
58 | .unmask = intc_irq_unmask, | 58 | .irq_unmask = intc_irq_unmask, |
59 | .ack = intc_irq_ack, | 59 | .irq_ack = intc_irq_ack, |
60 | }; | 60 | }; |
61 | 61 | ||
62 | /* | 62 | /* |