aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/irq.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h
index fdf2c4a238cc..1eab99111e94 100644
--- a/include/linux/irq.h
+++ b/include/linux/irq.h
@@ -528,6 +528,8 @@ extern int irq_set_handler_data(unsigned int irq, void *data);
528extern int irq_set_chip_data(unsigned int irq, void *data); 528extern int irq_set_chip_data(unsigned int irq, void *data);
529extern int irq_set_irq_type(unsigned int irq, unsigned int type); 529extern int irq_set_irq_type(unsigned int irq, unsigned int type);
530extern int irq_set_msi_desc(unsigned int irq, struct msi_desc *entry); 530extern int irq_set_msi_desc(unsigned int irq, struct msi_desc *entry);
531extern int irq_set_msi_desc_off(unsigned int irq_base, unsigned int irq_offset,
532 struct msi_desc *entry);
531extern struct irq_data *irq_get_irq_data(unsigned int irq); 533extern struct irq_data *irq_get_irq_data(unsigned int irq);
532 534
533static inline struct irq_chip *irq_get_chip(unsigned int irq) 535static inline struct irq_chip *irq_get_chip(unsigned int irq)
@@ -590,6 +592,9 @@ int __irq_alloc_descs(int irq, unsigned int from, unsigned int cnt, int node,
590#define irq_alloc_desc_from(from, node) \ 592#define irq_alloc_desc_from(from, node) \
591 irq_alloc_descs(-1, from, 1, node) 593 irq_alloc_descs(-1, from, 1, node)
592 594
595#define irq_alloc_descs_from(from, cnt, node) \
596 irq_alloc_descs(-1, from, cnt, node)
597
593void irq_free_descs(unsigned int irq, unsigned int cnt); 598void irq_free_descs(unsigned int irq, unsigned int cnt);
594int irq_reserve_irqs(unsigned int from, unsigned int cnt); 599int irq_reserve_irqs(unsigned int from, unsigned int cnt);
595 600