diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-07-02 09:41:42 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-07-13 16:25:58 -0400 |
commit | 94dee171df34b7955cd647da4c40ba67d55a7671 (patch) | |
tree | 4f4cb8c8d5e37a7bc33457ffff5caff85376037f /arch/mips/tx4938 | |
parent | e1e80b4d24eddd1a76cd386e25164cf159661bd6 (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/tx4938')
-rw-r--r-- | arch/mips/tx4938/common/irq.c | 4 | ||||
-rw-r--r-- | arch/mips/tx4938/toshiba_rbtx4938/irq.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/tx4938/common/irq.c b/arch/mips/tx4938/common/irq.c index 0b2f8c849218..dc30d66123b6 100644 --- a/arch/mips/tx4938/common/irq.c +++ b/arch/mips/tx4938/common/irq.c | |||
@@ -57,7 +57,7 @@ DEFINE_SPINLOCK(tx4938_cp0_lock); | |||
57 | DEFINE_SPINLOCK(tx4938_pic_lock); | 57 | DEFINE_SPINLOCK(tx4938_pic_lock); |
58 | 58 | ||
59 | #define TX4938_CP0_NAME "TX4938-CP0" | 59 | #define TX4938_CP0_NAME "TX4938-CP0" |
60 | static struct hw_interrupt_type tx4938_irq_cp0_type = { | 60 | static struct irq_chip tx4938_irq_cp0_type = { |
61 | .typename = TX4938_CP0_NAME, | 61 | .typename = TX4938_CP0_NAME, |
62 | .startup = tx4938_irq_cp0_startup, | 62 | .startup = tx4938_irq_cp0_startup, |
63 | .shutdown = tx4938_irq_cp0_shutdown, | 63 | .shutdown = tx4938_irq_cp0_shutdown, |
@@ -69,7 +69,7 @@ static struct hw_interrupt_type tx4938_irq_cp0_type = { | |||
69 | }; | 69 | }; |
70 | 70 | ||
71 | #define TX4938_PIC_NAME "TX4938-PIC" | 71 | #define TX4938_PIC_NAME "TX4938-PIC" |
72 | static struct hw_interrupt_type tx4938_irq_pic_type = { | 72 | static struct irq_chip tx4938_irq_pic_type = { |
73 | .typename = TX4938_PIC_NAME, | 73 | .typename = TX4938_PIC_NAME, |
74 | .startup = tx4938_irq_pic_startup, | 74 | .startup = tx4938_irq_pic_startup, |
75 | .shutdown = tx4938_irq_pic_shutdown, | 75 | .shutdown = tx4938_irq_pic_shutdown, |
diff --git a/arch/mips/tx4938/toshiba_rbtx4938/irq.c b/arch/mips/tx4938/toshiba_rbtx4938/irq.c index 3b8245dc5bd3..83f2750825a4 100644 --- a/arch/mips/tx4938/toshiba_rbtx4938/irq.c +++ b/arch/mips/tx4938/toshiba_rbtx4938/irq.c | |||
@@ -97,7 +97,7 @@ static void toshiba_rbtx4938_irq_ioc_end(unsigned int irq); | |||
97 | DEFINE_SPINLOCK(toshiba_rbtx4938_ioc_lock); | 97 | DEFINE_SPINLOCK(toshiba_rbtx4938_ioc_lock); |
98 | 98 | ||
99 | #define TOSHIBA_RBTX4938_IOC_NAME "RBTX4938-IOC" | 99 | #define TOSHIBA_RBTX4938_IOC_NAME "RBTX4938-IOC" |
100 | static struct hw_interrupt_type toshiba_rbtx4938_irq_ioc_type = { | 100 | static struct irq_chip toshiba_rbtx4938_irq_ioc_type = { |
101 | .typename = TOSHIBA_RBTX4938_IOC_NAME, | 101 | .typename = TOSHIBA_RBTX4938_IOC_NAME, |
102 | .startup = toshiba_rbtx4938_irq_ioc_startup, | 102 | .startup = toshiba_rbtx4938_irq_ioc_startup, |
103 | .shutdown = toshiba_rbtx4938_irq_ioc_shutdown, | 103 | .shutdown = toshiba_rbtx4938_irq_ioc_shutdown, |