diff options
Diffstat (limited to 'include/linux/irq.h')
-rw-r--r-- | include/linux/irq.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h index 49702b22883e..e9639115dff1 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h | |||
@@ -326,11 +326,15 @@ extern unsigned int create_irq_nr(unsigned int irq_want, int node); | |||
326 | extern int create_irq(void); | 326 | extern int create_irq(void); |
327 | extern void destroy_irq(unsigned int irq); | 327 | extern void destroy_irq(unsigned int irq); |
328 | 328 | ||
329 | /* Dynamic irq helper functions */ | 329 | /* |
330 | extern void dynamic_irq_init(unsigned int irq); | 330 | * Dynamic irq helper functions. Obsolete. Use irq_alloc_desc* and |
331 | void dynamic_irq_init_keep_chip_data(unsigned int irq); | 331 | * irq_free_desc instead. |
332 | */ | ||
332 | extern void dynamic_irq_cleanup(unsigned int irq); | 333 | extern void dynamic_irq_cleanup(unsigned int irq); |
333 | void dynamic_irq_cleanup_keep_chip_data(unsigned int irq); | 334 | static inline void dynamic_irq_init(unsigned int irq) |
335 | { | ||
336 | dynamic_irq_cleanup(irq); | ||
337 | } | ||
334 | 338 | ||
335 | /* Set/get chip/data for an IRQ: */ | 339 | /* Set/get chip/data for an IRQ: */ |
336 | extern int set_irq_chip(unsigned int irq, struct irq_chip *chip); | 340 | extern int set_irq_chip(unsigned int irq, struct irq_chip *chip); |