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 | 39a17940abc4d069cbb33865e967dcc7ef1bf452 (patch) | |
tree | 286208f50672bbe46abb212b0a9992267786c6ec /arch | |
parent | f80c353ce8670b1ef336bc1dd74429763cbd7358 (diff) |
m68knommu: Convert 68328 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')
-rw-r--r-- | arch/m68knommu/platform/68328/ints.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/m68knommu/platform/68328/ints.c b/arch/m68knommu/platform/68328/ints.c index 2a3af193ccd3..e5631831a200 100644 --- a/arch/m68knommu/platform/68328/ints.c +++ b/arch/m68knommu/platform/68328/ints.c | |||
@@ -135,20 +135,20 @@ void process_int(int vec, struct pt_regs *fp) | |||
135 | } | 135 | } |
136 | } | 136 | } |
137 | 137 | ||
138 | static void intc_irq_unmask(unsigned int irq) | 138 | static void intc_irq_unmask(struct irq_data *d) |
139 | { | 139 | { |
140 | IMR &= ~(1<<irq); | 140 | IMR &= ~(1 << d->irq); |
141 | } | 141 | } |
142 | 142 | ||
143 | static void intc_irq_mask(unsigned int irq) | 143 | static void intc_irq_mask(struct irq_data *d) |
144 | { | 144 | { |
145 | IMR |= (1<<irq); | 145 | IMR |= (1 << d->irq); |
146 | } | 146 | } |
147 | 147 | ||
148 | static struct irq_chip intc_irq_chip = { | 148 | static struct irq_chip intc_irq_chip = { |
149 | .name = "M68K-INTC", | 149 | .name = "M68K-INTC", |
150 | .mask = intc_irq_mask, | 150 | .irq_mask = intc_irq_mask, |
151 | .unmask = intc_irq_unmask, | 151 | .irq_unmask = intc_irq_unmask, |
152 | }; | 152 | }; |
153 | 153 | ||
154 | /* | 154 | /* |