aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/vr41xx/common/vrc4173.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-07-02 09:41:42 -0400
committerRalf Baechle <ralf@linux-mips.org>2006-07-13 16:25:58 -0400
commit94dee171df34b7955cd647da4c40ba67d55a7671 (patch)
tree4f4cb8c8d5e37a7bc33457ffff5caff85376037f /arch/mips/vr41xx/common/vrc4173.c
parente1e80b4d24eddd1a76cd386e25164cf159661bd6 (diff)
[MIPS] Eleminate interrupt migration helper use.
> #define hw_interrupt_type irq_chip > typedef struct irq_chip hw_irq_controller; > #define no_irq_type no_irq_chip > typedef struct irq_desc irq_desc_t; Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/vr41xx/common/vrc4173.c')
-rw-r--r--arch/mips/vr41xx/common/vrc4173.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/mips/vr41xx/common/vrc4173.c b/arch/mips/vr41xx/common/vrc4173.c
index 2d287b8893d9..4720a994dc19 100644
--- a/arch/mips/vr41xx/common/vrc4173.c
+++ b/arch/mips/vr41xx/common/vrc4173.c
@@ -321,7 +321,7 @@ static inline void vrc4173_giu_init(void)
321 321
322void vrc4173_enable_piuint(uint16_t mask) 322void vrc4173_enable_piuint(uint16_t mask)
323{ 323{
324 irq_desc_t *desc = irq_desc + VRC4173_PIU_IRQ; 324 struct irq_desc *desc = irq_desc + VRC4173_PIU_IRQ;
325 unsigned long flags; 325 unsigned long flags;
326 uint16_t val; 326 uint16_t val;
327 327
@@ -336,7 +336,7 @@ EXPORT_SYMBOL(vrc4173_enable_piuint);
336 336
337void vrc4173_disable_piuint(uint16_t mask) 337void vrc4173_disable_piuint(uint16_t mask)
338{ 338{
339 irq_desc_t *desc = irq_desc + VRC4173_PIU_IRQ; 339 struct irq_desc *desc = irq_desc + VRC4173_PIU_IRQ;
340 unsigned long flags; 340 unsigned long flags;
341 uint16_t val; 341 uint16_t val;
342 342
@@ -351,7 +351,7 @@ EXPORT_SYMBOL(vrc4173_disable_piuint);
351 351
352void vrc4173_enable_aiuint(uint16_t mask) 352void vrc4173_enable_aiuint(uint16_t mask)
353{ 353{
354 irq_desc_t *desc = irq_desc + VRC4173_AIU_IRQ; 354 struct irq_desc *desc = irq_desc + VRC4173_AIU_IRQ;
355 unsigned long flags; 355 unsigned long flags;
356 uint16_t val; 356 uint16_t val;
357 357
@@ -366,7 +366,7 @@ EXPORT_SYMBOL(vrc4173_enable_aiuint);
366 366
367void vrc4173_disable_aiuint(uint16_t mask) 367void vrc4173_disable_aiuint(uint16_t mask)
368{ 368{
369 irq_desc_t *desc = irq_desc + VRC4173_AIU_IRQ; 369 struct irq_desc *desc = irq_desc + VRC4173_AIU_IRQ;
370 unsigned long flags; 370 unsigned long flags;
371 uint16_t val; 371 uint16_t val;
372 372
@@ -381,7 +381,7 @@ EXPORT_SYMBOL(vrc4173_disable_aiuint);
381 381
382void vrc4173_enable_kiuint(uint16_t mask) 382void vrc4173_enable_kiuint(uint16_t mask)
383{ 383{
384 irq_desc_t *desc = irq_desc + VRC4173_KIU_IRQ; 384 struct irq_desc *desc = irq_desc + VRC4173_KIU_IRQ;
385 unsigned long flags; 385 unsigned long flags;
386 uint16_t val; 386 uint16_t val;
387 387
@@ -396,7 +396,7 @@ EXPORT_SYMBOL(vrc4173_enable_kiuint);
396 396
397void vrc4173_disable_kiuint(uint16_t mask) 397void vrc4173_disable_kiuint(uint16_t mask)
398{ 398{
399 irq_desc_t *desc = irq_desc + VRC4173_KIU_IRQ; 399 struct irq_desc *desc = irq_desc + VRC4173_KIU_IRQ;
400 unsigned long flags; 400 unsigned long flags;
401 uint16_t val; 401 uint16_t val;
402 402
@@ -442,7 +442,7 @@ static void end_vrc4173_irq(unsigned int irq)
442 enable_vrc4173_irq(irq); 442 enable_vrc4173_irq(irq);
443} 443}
444 444
445static struct hw_interrupt_type vrc4173_irq_type = { 445static struct irq_chip vrc4173_irq_type = {
446 .typename = "VRC4173", 446 .typename = "VRC4173",
447 .startup = startup_vrc4173_irq, 447 .startup = startup_vrc4173_irq,
448 .shutdown = shutdown_vrc4173_irq, 448 .shutdown = shutdown_vrc4173_irq,