aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/irq.h')
-rw-r--r--include/linux/irq.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h
index a31a7d8acdb..82dbb0e8f40 100644
--- a/include/linux/irq.h
+++ b/include/linux/irq.h
@@ -404,8 +404,15 @@ set_irq_chained_handler(unsigned int irq,
404 __set_irq_handler(irq, handle, 1); 404 __set_irq_handler(irq, handle, 1);
405} 405}
406 406
407/* Set/get chip/data for an IRQ: */ 407/* Handle dynamic irq creation and destruction */
408extern int create_irq(void);
409extern void destroy_irq(unsigned int irq);
410
411/* Dynamic irq helper functions */
412extern void dynamic_irq_init(unsigned int irq);
413extern void dynamic_irq_cleanup(unsigned int irq);
408 414
415/* Set/get chip/data for an IRQ: */
409extern int set_irq_chip(unsigned int irq, struct irq_chip *chip); 416extern int set_irq_chip(unsigned int irq, struct irq_chip *chip);
410extern int set_irq_data(unsigned int irq, void *data); 417extern int set_irq_data(unsigned int irq, void *data);
411extern int set_irq_chip_data(unsigned int irq, void *data); 418extern int set_irq_chip_data(unsigned int irq, void *data);