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/emma2rh | |
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/emma2rh')
-rw-r--r-- | arch/mips/emma2rh/common/irq_emma2rh.c | 2 | ||||
-rw-r--r-- | arch/mips/emma2rh/markeins/irq_markeins.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/emma2rh/common/irq_emma2rh.c b/arch/mips/emma2rh/common/irq_emma2rh.c index b886aa94ca90..7c930860c921 100644 --- a/arch/mips/emma2rh/common/irq_emma2rh.c +++ b/arch/mips/emma2rh/common/irq_emma2rh.c | |||
@@ -78,7 +78,7 @@ static void emma2rh_irq_end(unsigned int irq) | |||
78 | ll_emma2rh_irq_enable(irq - emma2rh_irq_base); | 78 | ll_emma2rh_irq_enable(irq - emma2rh_irq_base); |
79 | } | 79 | } |
80 | 80 | ||
81 | hw_irq_controller emma2rh_irq_controller = { | 81 | struct irq_chip emma2rh_irq_controller = { |
82 | .typename = "emma2rh_irq", | 82 | .typename = "emma2rh_irq", |
83 | .startup = emma2rh_irq_startup, | 83 | .startup = emma2rh_irq_startup, |
84 | .shutdown = emma2rh_irq_shutdown, | 84 | .shutdown = emma2rh_irq_shutdown, |
diff --git a/arch/mips/emma2rh/markeins/irq_markeins.c b/arch/mips/emma2rh/markeins/irq_markeins.c index 1783fdab6459..f23ae9fcffa0 100644 --- a/arch/mips/emma2rh/markeins/irq_markeins.c +++ b/arch/mips/emma2rh/markeins/irq_markeins.c | |||
@@ -67,7 +67,7 @@ static void emma2rh_sw_irq_end(unsigned int irq) | |||
67 | ll_emma2rh_sw_irq_enable(irq - emma2rh_sw_irq_base); | 67 | ll_emma2rh_sw_irq_enable(irq - emma2rh_sw_irq_base); |
68 | } | 68 | } |
69 | 69 | ||
70 | hw_irq_controller emma2rh_sw_irq_controller = { | 70 | struct irq_chip emma2rh_sw_irq_controller = { |
71 | .typename = "emma2rh_sw_irq", | 71 | .typename = "emma2rh_sw_irq", |
72 | .startup = emma2rh_sw_irq_startup, | 72 | .startup = emma2rh_sw_irq_startup, |
73 | .shutdown = emma2rh_sw_irq_shutdown, | 73 | .shutdown = emma2rh_sw_irq_shutdown, |
@@ -147,7 +147,7 @@ static void emma2rh_gpio_irq_end(unsigned int irq) | |||
147 | ll_emma2rh_gpio_irq_enable(irq - emma2rh_gpio_irq_base); | 147 | ll_emma2rh_gpio_irq_enable(irq - emma2rh_gpio_irq_base); |
148 | } | 148 | } |
149 | 149 | ||
150 | hw_irq_controller emma2rh_gpio_irq_controller = { | 150 | struct irq_chip emma2rh_gpio_irq_controller = { |
151 | .typename = "emma2rh_gpio_irq", | 151 | .typename = "emma2rh_gpio_irq", |
152 | .startup = emma2rh_gpio_irq_startup, | 152 | .startup = emma2rh_gpio_irq_startup, |
153 | .shutdown = emma2rh_gpio_irq_shutdown, | 153 | .shutdown = emma2rh_gpio_irq_shutdown, |