diff options
Diffstat (limited to 'include/linux/irqdesc.h')
-rw-r--r-- | include/linux/irqdesc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/irqdesc.h b/include/linux/irqdesc.h index 9eb9cd313052..00218371518b 100644 --- a/include/linux/irqdesc.h +++ b/include/linux/irqdesc.h | |||
@@ -109,6 +109,11 @@ static inline struct irq_desc *move_irq_desc(struct irq_desc *desc, int node) | |||
109 | 109 | ||
110 | #ifdef CONFIG_GENERIC_HARDIRQS | 110 | #ifdef CONFIG_GENERIC_HARDIRQS |
111 | 111 | ||
112 | static inline struct irq_data *irq_desc_get_irq_data(struct irq_desc *desc) | ||
113 | { | ||
114 | return &desc->irq_data; | ||
115 | } | ||
116 | |||
112 | static inline struct irq_chip *irq_desc_get_chip(struct irq_desc *desc) | 117 | static inline struct irq_chip *irq_desc_get_chip(struct irq_desc *desc) |
113 | { | 118 | { |
114 | return desc->irq_data.chip; | 119 | return desc->irq_data.chip; |