diff options
Diffstat (limited to 'arch/arm/mach-rpc/irq.c')
-rw-r--r-- | arch/arm/mach-rpc/irq.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm/mach-rpc/irq.c b/arch/arm/mach-rpc/irq.c index 56b2716f8cf5..7a029621db43 100644 --- a/arch/arm/mach-rpc/irq.c +++ b/arch/arm/mach-rpc/irq.c | |||
@@ -34,7 +34,7 @@ static void iomd_unmask_irq_a(unsigned int irq) | |||
34 | iomd_writeb(val | mask, IOMD_IRQMASKA); | 34 | iomd_writeb(val | mask, IOMD_IRQMASKA); |
35 | } | 35 | } |
36 | 36 | ||
37 | static struct irqchip iomd_a_chip = { | 37 | static struct irq_chip iomd_a_chip = { |
38 | .ack = iomd_ack_irq_a, | 38 | .ack = iomd_ack_irq_a, |
39 | .mask = iomd_mask_irq_a, | 39 | .mask = iomd_mask_irq_a, |
40 | .unmask = iomd_unmask_irq_a, | 40 | .unmask = iomd_unmask_irq_a, |
@@ -58,7 +58,7 @@ static void iomd_unmask_irq_b(unsigned int irq) | |||
58 | iomd_writeb(val | mask, IOMD_IRQMASKB); | 58 | iomd_writeb(val | mask, IOMD_IRQMASKB); |
59 | } | 59 | } |
60 | 60 | ||
61 | static struct irqchip iomd_b_chip = { | 61 | static struct irq_chip iomd_b_chip = { |
62 | .ack = iomd_mask_irq_b, | 62 | .ack = iomd_mask_irq_b, |
63 | .mask = iomd_mask_irq_b, | 63 | .mask = iomd_mask_irq_b, |
64 | .unmask = iomd_unmask_irq_b, | 64 | .unmask = iomd_unmask_irq_b, |
@@ -82,7 +82,7 @@ static void iomd_unmask_irq_dma(unsigned int irq) | |||
82 | iomd_writeb(val | mask, IOMD_DMAMASK); | 82 | iomd_writeb(val | mask, IOMD_DMAMASK); |
83 | } | 83 | } |
84 | 84 | ||
85 | static struct irqchip iomd_dma_chip = { | 85 | static struct irq_chip iomd_dma_chip = { |
86 | .ack = iomd_mask_irq_dma, | 86 | .ack = iomd_mask_irq_dma, |
87 | .mask = iomd_mask_irq_dma, | 87 | .mask = iomd_mask_irq_dma, |
88 | .unmask = iomd_unmask_irq_dma, | 88 | .unmask = iomd_unmask_irq_dma, |
@@ -106,7 +106,7 @@ static void iomd_unmask_irq_fiq(unsigned int irq) | |||
106 | iomd_writeb(val | mask, IOMD_FIQMASK); | 106 | iomd_writeb(val | mask, IOMD_FIQMASK); |
107 | } | 107 | } |
108 | 108 | ||
109 | static struct irqchip iomd_fiq_chip = { | 109 | static struct irq_chip iomd_fiq_chip = { |
110 | .ack = iomd_mask_irq_fiq, | 110 | .ack = iomd_mask_irq_fiq, |
111 | .mask = iomd_mask_irq_fiq, | 111 | .mask = iomd_mask_irq_fiq, |
112 | .unmask = iomd_unmask_irq_fiq, | 112 | .unmask = iomd_unmask_irq_fiq, |
@@ -134,19 +134,19 @@ void __init rpc_init_irq(void) | |||
134 | switch (irq) { | 134 | switch (irq) { |
135 | case 0 ... 7: | 135 | case 0 ... 7: |
136 | set_irq_chip(irq, &iomd_a_chip); | 136 | set_irq_chip(irq, &iomd_a_chip); |
137 | set_irq_handler(irq, do_level_IRQ); | 137 | set_irq_handler(irq, handle_level_irq); |
138 | set_irq_flags(irq, flags); | 138 | set_irq_flags(irq, flags); |
139 | break; | 139 | break; |
140 | 140 | ||
141 | case 8 ... 15: | 141 | case 8 ... 15: |
142 | set_irq_chip(irq, &iomd_b_chip); | 142 | set_irq_chip(irq, &iomd_b_chip); |
143 | set_irq_handler(irq, do_level_IRQ); | 143 | set_irq_handler(irq, handle_level_irq); |
144 | set_irq_flags(irq, flags); | 144 | set_irq_flags(irq, flags); |
145 | break; | 145 | break; |
146 | 146 | ||
147 | case 16 ... 21: | 147 | case 16 ... 21: |
148 | set_irq_chip(irq, &iomd_dma_chip); | 148 | set_irq_chip(irq, &iomd_dma_chip); |
149 | set_irq_handler(irq, do_level_IRQ); | 149 | set_irq_handler(irq, handle_level_irq); |
150 | set_irq_flags(irq, flags); | 150 | set_irq_flags(irq, flags); |
151 | break; | 151 | break; |
152 | 152 | ||