diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2014-03-14 05:26:56 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-03-14 05:26:56 -0400 |
commit | a176973ee83e561c0e4a9f3a2fcf6ab671e5e87b (patch) | |
tree | f684e7a2d801bcde42dc6012e3fa6d724a19806b /include/linux | |
parent | 9e294427f6e427dbaf46140303acded06365f53c (diff) | |
parent | c1bacbae8192dd2a9ebadd22d793b68054f6c6e5 (diff) |
Merge branch 'irq/for-gpio' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip into devel
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/irq.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h index 7dc10036eff5..e675971bdc3f 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h | |||
@@ -303,6 +303,10 @@ static inline irq_hw_number_t irqd_to_hwirq(struct irq_data *d) | |||
303 | * @irq_pm_shutdown: function called from core code on shutdown once per chip | 303 | * @irq_pm_shutdown: function called from core code on shutdown once per chip |
304 | * @irq_calc_mask: Optional function to set irq_data.mask for special cases | 304 | * @irq_calc_mask: Optional function to set irq_data.mask for special cases |
305 | * @irq_print_chip: optional to print special chip info in show_interrupts | 305 | * @irq_print_chip: optional to print special chip info in show_interrupts |
306 | * @irq_request_resources: optional to request resources before calling | ||
307 | * any other callback related to this irq | ||
308 | * @irq_release_resources: optional to release resources acquired with | ||
309 | * irq_request_resources | ||
306 | * @flags: chip specific flags | 310 | * @flags: chip specific flags |
307 | */ | 311 | */ |
308 | struct irq_chip { | 312 | struct irq_chip { |
@@ -336,6 +340,8 @@ struct irq_chip { | |||
336 | void (*irq_calc_mask)(struct irq_data *data); | 340 | void (*irq_calc_mask)(struct irq_data *data); |
337 | 341 | ||
338 | void (*irq_print_chip)(struct irq_data *data, struct seq_file *p); | 342 | void (*irq_print_chip)(struct irq_data *data, struct seq_file *p); |
343 | int (*irq_request_resources)(struct irq_data *data); | ||
344 | void (*irq_release_resources)(struct irq_data *data); | ||
339 | 345 | ||
340 | unsigned long flags; | 346 | unsigned long flags; |
341 | }; | 347 | }; |