diff options
Diffstat (limited to 'include/linux/irq.h')
-rw-r--r-- | include/linux/irq.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h index 48901e9a33b9..6db939a575bd 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h | |||
@@ -218,7 +218,6 @@ irq_remap_to_desc(unsigned int irq, struct irq_desc *desc) | |||
218 | * Migration helpers for obsolete names, they will go away: | 218 | * Migration helpers for obsolete names, they will go away: |
219 | */ | 219 | */ |
220 | #define hw_interrupt_type irq_chip | 220 | #define hw_interrupt_type irq_chip |
221 | typedef struct irq_chip hw_irq_controller; | ||
222 | #define no_irq_type no_irq_chip | 221 | #define no_irq_type no_irq_chip |
223 | typedef struct irq_desc irq_desc_t; | 222 | typedef struct irq_desc irq_desc_t; |
224 | 223 | ||
@@ -228,6 +227,7 @@ typedef struct irq_desc irq_desc_t; | |||
228 | #include <asm/hw_irq.h> | 227 | #include <asm/hw_irq.h> |
229 | 228 | ||
230 | extern int setup_irq(unsigned int irq, struct irqaction *new); | 229 | extern int setup_irq(unsigned int irq, struct irqaction *new); |
230 | extern void remove_irq(unsigned int irq, struct irqaction *act); | ||
231 | 231 | ||
232 | #ifdef CONFIG_GENERIC_HARDIRQS | 232 | #ifdef CONFIG_GENERIC_HARDIRQS |
233 | 233 | ||
@@ -272,7 +272,7 @@ static inline int irq_balancing_disabled(unsigned int irq) | |||
272 | } | 272 | } |
273 | 273 | ||
274 | /* Handle irq action chains: */ | 274 | /* Handle irq action chains: */ |
275 | extern int handle_IRQ_event(unsigned int irq, struct irqaction *action); | 275 | extern irqreturn_t handle_IRQ_event(unsigned int irq, struct irqaction *action); |
276 | 276 | ||
277 | /* | 277 | /* |
278 | * Built-in IRQ handlers for various IRQ types, | 278 | * Built-in IRQ handlers for various IRQ types, |
@@ -317,7 +317,7 @@ static inline void generic_handle_irq(unsigned int irq) | |||
317 | 317 | ||
318 | /* Handling of unhandled and spurious interrupts: */ | 318 | /* Handling of unhandled and spurious interrupts: */ |
319 | extern void note_interrupt(unsigned int irq, struct irq_desc *desc, | 319 | extern void note_interrupt(unsigned int irq, struct irq_desc *desc, |
320 | int action_ret); | 320 | irqreturn_t action_ret); |
321 | 321 | ||
322 | /* Resending of interrupts :*/ | 322 | /* Resending of interrupts :*/ |
323 | void check_irq_resend(struct irq_desc *desc, unsigned int irq); | 323 | void check_irq_resend(struct irq_desc *desc, unsigned int irq); |