diff options
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/common/sa1111.c | 8 | ||||
-rw-r--r-- | arch/arm/kernel/irq.c | 16 | ||||
-rw-r--r-- | arch/arm/mach-imx/irq.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-ixp2000/core.c | 8 | ||||
-rw-r--r-- | arch/arm/mach-pxa/irq.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-s3c2410/irq.c | 12 | ||||
-rw-r--r-- | arch/arm/mach-sa1100/irq.c | 8 |
7 files changed, 29 insertions, 29 deletions
diff --git a/arch/arm/common/sa1111.c b/arch/arm/common/sa1111.c index 38c2eb667eb9..1a47fbf9cbbc 100644 --- a/arch/arm/common/sa1111.c +++ b/arch/arm/common/sa1111.c | |||
@@ -268,8 +268,8 @@ static struct irqchip sa1111_low_chip = { | |||
268 | .mask = sa1111_mask_lowirq, | 268 | .mask = sa1111_mask_lowirq, |
269 | .unmask = sa1111_unmask_lowirq, | 269 | .unmask = sa1111_unmask_lowirq, |
270 | .retrigger = sa1111_retrigger_lowirq, | 270 | .retrigger = sa1111_retrigger_lowirq, |
271 | .type = sa1111_type_lowirq, | 271 | .set_type = sa1111_type_lowirq, |
272 | .wake = sa1111_wake_lowirq, | 272 | .set_wake = sa1111_wake_lowirq, |
273 | }; | 273 | }; |
274 | 274 | ||
275 | static void sa1111_mask_highirq(unsigned int irq) | 275 | static void sa1111_mask_highirq(unsigned int irq) |
@@ -364,8 +364,8 @@ static struct irqchip sa1111_high_chip = { | |||
364 | .mask = sa1111_mask_highirq, | 364 | .mask = sa1111_mask_highirq, |
365 | .unmask = sa1111_unmask_highirq, | 365 | .unmask = sa1111_unmask_highirq, |
366 | .retrigger = sa1111_retrigger_highirq, | 366 | .retrigger = sa1111_retrigger_highirq, |
367 | .type = sa1111_type_highirq, | 367 | .set_type = sa1111_type_highirq, |
368 | .wake = sa1111_wake_highirq, | 368 | .set_wake = sa1111_wake_highirq, |
369 | }; | 369 | }; |
370 | 370 | ||
371 | static void sa1111_setup_irq(struct sa1111 *sachip) | 371 | static void sa1111_setup_irq(struct sa1111 *sachip) |
diff --git a/arch/arm/kernel/irq.c b/arch/arm/kernel/irq.c index 395137a8fad2..58b3bd000834 100644 --- a/arch/arm/kernel/irq.c +++ b/arch/arm/kernel/irq.c | |||
@@ -207,8 +207,8 @@ void enable_irq_wake(unsigned int irq) | |||
207 | unsigned long flags; | 207 | unsigned long flags; |
208 | 208 | ||
209 | spin_lock_irqsave(&irq_controller_lock, flags); | 209 | spin_lock_irqsave(&irq_controller_lock, flags); |
210 | if (desc->chip->wake) | 210 | if (desc->chip->set_wake) |
211 | desc->chip->wake(irq, 1); | 211 | desc->chip->set_wake(irq, 1); |
212 | spin_unlock_irqrestore(&irq_controller_lock, flags); | 212 | spin_unlock_irqrestore(&irq_controller_lock, flags); |
213 | } | 213 | } |
214 | EXPORT_SYMBOL(enable_irq_wake); | 214 | EXPORT_SYMBOL(enable_irq_wake); |
@@ -219,8 +219,8 @@ void disable_irq_wake(unsigned int irq) | |||
219 | unsigned long flags; | 219 | unsigned long flags; |
220 | 220 | ||
221 | spin_lock_irqsave(&irq_controller_lock, flags); | 221 | spin_lock_irqsave(&irq_controller_lock, flags); |
222 | if (desc->chip->wake) | 222 | if (desc->chip->set_wake) |
223 | desc->chip->wake(irq, 0); | 223 | desc->chip->set_wake(irq, 0); |
224 | spin_unlock_irqrestore(&irq_controller_lock, flags); | 224 | spin_unlock_irqrestore(&irq_controller_lock, flags); |
225 | } | 225 | } |
226 | EXPORT_SYMBOL(disable_irq_wake); | 226 | EXPORT_SYMBOL(disable_irq_wake); |
@@ -624,9 +624,9 @@ int set_irq_type(unsigned int irq, unsigned int type) | |||
624 | } | 624 | } |
625 | 625 | ||
626 | desc = irq_desc + irq; | 626 | desc = irq_desc + irq; |
627 | if (desc->chip->type) { | 627 | if (desc->chip->set_type) { |
628 | spin_lock_irqsave(&irq_controller_lock, flags); | 628 | spin_lock_irqsave(&irq_controller_lock, flags); |
629 | ret = desc->chip->type(irq, type); | 629 | ret = desc->chip->set_type(irq, type); |
630 | spin_unlock_irqrestore(&irq_controller_lock, flags); | 630 | spin_unlock_irqrestore(&irq_controller_lock, flags); |
631 | } | 631 | } |
632 | 632 | ||
@@ -846,8 +846,8 @@ unsigned long probe_irq_on(void) | |||
846 | 846 | ||
847 | irq_desc[i].probing = 1; | 847 | irq_desc[i].probing = 1; |
848 | irq_desc[i].triggered = 0; | 848 | irq_desc[i].triggered = 0; |
849 | if (irq_desc[i].chip->type) | 849 | if (irq_desc[i].chip->set_type) |
850 | irq_desc[i].chip->type(i, IRQT_PROBE); | 850 | irq_desc[i].chip->set_type(i, IRQT_PROBE); |
851 | irq_desc[i].chip->unmask(i); | 851 | irq_desc[i].chip->unmask(i); |
852 | irqs += 1; | 852 | irqs += 1; |
853 | } | 853 | } |
diff --git a/arch/arm/mach-imx/irq.c b/arch/arm/mach-imx/irq.c index 0c2713426dfd..45d22dd5583a 100644 --- a/arch/arm/mach-imx/irq.c +++ b/arch/arm/mach-imx/irq.c | |||
@@ -214,7 +214,7 @@ static struct irqchip imx_gpio_chip = { | |||
214 | .ack = imx_gpio_ack_irq, | 214 | .ack = imx_gpio_ack_irq, |
215 | .mask = imx_gpio_mask_irq, | 215 | .mask = imx_gpio_mask_irq, |
216 | .unmask = imx_gpio_unmask_irq, | 216 | .unmask = imx_gpio_unmask_irq, |
217 | .type = imx_gpio_irq_type, | 217 | .set_type = imx_gpio_irq_type, |
218 | }; | 218 | }; |
219 | 219 | ||
220 | void __init | 220 | void __init |
diff --git a/arch/arm/mach-ixp2000/core.c b/arch/arm/mach-ixp2000/core.c index 45b18658499f..594b4c4d5b11 100644 --- a/arch/arm/mach-ixp2000/core.c +++ b/arch/arm/mach-ixp2000/core.c | |||
@@ -380,10 +380,10 @@ static void ixp2000_GPIO_irq_unmask(unsigned int irq) | |||
380 | } | 380 | } |
381 | 381 | ||
382 | static struct irqchip ixp2000_GPIO_irq_chip = { | 382 | static struct irqchip ixp2000_GPIO_irq_chip = { |
383 | .type = ixp2000_GPIO_irq_type, | 383 | .ack = ixp2000_GPIO_irq_mask_ack, |
384 | .ack = ixp2000_GPIO_irq_mask_ack, | 384 | .mask = ixp2000_GPIO_irq_mask, |
385 | .mask = ixp2000_GPIO_irq_mask, | 385 | .unmask = ixp2000_GPIO_irq_unmask |
386 | .unmask = ixp2000_GPIO_irq_unmask | 386 | .set_type = ixp2000_GPIO_irq_type, |
387 | }; | 387 | }; |
388 | 388 | ||
389 | static void ixp2000_pci_irq_mask(unsigned int irq) | 389 | static void ixp2000_pci_irq_mask(unsigned int irq) |
diff --git a/arch/arm/mach-pxa/irq.c b/arch/arm/mach-pxa/irq.c index f3cac43124a5..6cf35f674464 100644 --- a/arch/arm/mach-pxa/irq.c +++ b/arch/arm/mach-pxa/irq.c | |||
@@ -133,7 +133,7 @@ static struct irqchip pxa_low_gpio_chip = { | |||
133 | .ack = pxa_ack_low_gpio, | 133 | .ack = pxa_ack_low_gpio, |
134 | .mask = pxa_mask_low_irq, | 134 | .mask = pxa_mask_low_irq, |
135 | .unmask = pxa_unmask_low_irq, | 135 | .unmask = pxa_unmask_low_irq, |
136 | .type = pxa_gpio_irq_type, | 136 | .set_type = pxa_gpio_irq_type, |
137 | }; | 137 | }; |
138 | 138 | ||
139 | /* | 139 | /* |
@@ -241,7 +241,7 @@ static struct irqchip pxa_muxed_gpio_chip = { | |||
241 | .ack = pxa_ack_muxed_gpio, | 241 | .ack = pxa_ack_muxed_gpio, |
242 | .mask = pxa_mask_muxed_gpio, | 242 | .mask = pxa_mask_muxed_gpio, |
243 | .unmask = pxa_unmask_muxed_gpio, | 243 | .unmask = pxa_unmask_muxed_gpio, |
244 | .type = pxa_gpio_irq_type, | 244 | .set_type = pxa_gpio_irq_type, |
245 | }; | 245 | }; |
246 | 246 | ||
247 | 247 | ||
diff --git a/arch/arm/mach-s3c2410/irq.c b/arch/arm/mach-s3c2410/irq.c index 973a5fe6769c..67138797866a 100644 --- a/arch/arm/mach-s3c2410/irq.c +++ b/arch/arm/mach-s3c2410/irq.c | |||
@@ -184,14 +184,14 @@ struct irqchip s3c_irq_level_chip = { | |||
184 | .ack = s3c_irq_maskack, | 184 | .ack = s3c_irq_maskack, |
185 | .mask = s3c_irq_mask, | 185 | .mask = s3c_irq_mask, |
186 | .unmask = s3c_irq_unmask, | 186 | .unmask = s3c_irq_unmask, |
187 | .wake = s3c_irq_wake | 187 | .set_wake = s3c_irq_wake |
188 | }; | 188 | }; |
189 | 189 | ||
190 | static struct irqchip s3c_irq_chip = { | 190 | static struct irqchip s3c_irq_chip = { |
191 | .ack = s3c_irq_ack, | 191 | .ack = s3c_irq_ack, |
192 | .mask = s3c_irq_mask, | 192 | .mask = s3c_irq_mask, |
193 | .unmask = s3c_irq_unmask, | 193 | .unmask = s3c_irq_unmask, |
194 | .wake = s3c_irq_wake | 194 | .set_wake = s3c_irq_wake |
195 | }; | 195 | }; |
196 | 196 | ||
197 | /* S3C2410_EINTMASK | 197 | /* S3C2410_EINTMASK |
@@ -350,16 +350,16 @@ static struct irqchip s3c_irqext_chip = { | |||
350 | .mask = s3c_irqext_mask, | 350 | .mask = s3c_irqext_mask, |
351 | .unmask = s3c_irqext_unmask, | 351 | .unmask = s3c_irqext_unmask, |
352 | .ack = s3c_irqext_ack, | 352 | .ack = s3c_irqext_ack, |
353 | .type = s3c_irqext_type, | 353 | .set_type = s3c_irqext_type, |
354 | .wake = s3c_irqext_wake | 354 | .set_wake = s3c_irqext_wake |
355 | }; | 355 | }; |
356 | 356 | ||
357 | static struct irqchip s3c_irq_eint0t4 = { | 357 | static struct irqchip s3c_irq_eint0t4 = { |
358 | .ack = s3c_irq_ack, | 358 | .ack = s3c_irq_ack, |
359 | .mask = s3c_irq_mask, | 359 | .mask = s3c_irq_mask, |
360 | .unmask = s3c_irq_unmask, | 360 | .unmask = s3c_irq_unmask, |
361 | .wake = s3c_irq_wake, | 361 | .set_wake = s3c_irq_wake, |
362 | .type = s3c_irqext_type, | 362 | .set_type = s3c_irqext_type, |
363 | }; | 363 | }; |
364 | 364 | ||
365 | /* mask values for the parent registers for each of the interrupt types */ | 365 | /* mask values for the parent registers for each of the interrupt types */ |
diff --git a/arch/arm/mach-sa1100/irq.c b/arch/arm/mach-sa1100/irq.c index 66a929cb7bc5..cc349bc1b7c2 100644 --- a/arch/arm/mach-sa1100/irq.c +++ b/arch/arm/mach-sa1100/irq.c | |||
@@ -98,8 +98,8 @@ static struct irqchip sa1100_low_gpio_chip = { | |||
98 | .ack = sa1100_low_gpio_ack, | 98 | .ack = sa1100_low_gpio_ack, |
99 | .mask = sa1100_low_gpio_mask, | 99 | .mask = sa1100_low_gpio_mask, |
100 | .unmask = sa1100_low_gpio_unmask, | 100 | .unmask = sa1100_low_gpio_unmask, |
101 | .type = sa1100_gpio_type, | 101 | .set_type = sa1100_gpio_type, |
102 | .wake = sa1100_low_gpio_wake, | 102 | .set_wake = sa1100_low_gpio_wake, |
103 | }; | 103 | }; |
104 | 104 | ||
105 | /* | 105 | /* |
@@ -181,8 +181,8 @@ static struct irqchip sa1100_high_gpio_chip = { | |||
181 | .ack = sa1100_high_gpio_ack, | 181 | .ack = sa1100_high_gpio_ack, |
182 | .mask = sa1100_high_gpio_mask, | 182 | .mask = sa1100_high_gpio_mask, |
183 | .unmask = sa1100_high_gpio_unmask, | 183 | .unmask = sa1100_high_gpio_unmask, |
184 | .type = sa1100_gpio_type, | 184 | .set_type = sa1100_gpio_type, |
185 | .wake = sa1100_high_gpio_wake, | 185 | .set_wake = sa1100_high_gpio_wake, |
186 | }; | 186 | }; |
187 | 187 | ||
188 | /* | 188 | /* |