aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/interrupt.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-04-13 09:06:41 +0200
committerBjorn Helgaas <bhelgaas@google.com>2017-04-18 13:40:00 -0500
commit25ce4be72411867e0471908ee9319599035cc624 (patch)
tree1c29262ad5fb60ba2fd8d68e58be2c74fb848297 /include/linux/interrupt.h
parenta7e60e55d73c39df7bcfedb6ccf9b6b1100d960d (diff)
downloadlinux-25ce4be72411867e0471908ee9319599035cc624.tar.gz
genirq: Return the IRQ name from free_irq()
This allows callers to get back at them instead of having to store it in another variable. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/interrupt.h')
-rw-r--r--include/linux/interrupt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h
index 53144e78a3691d..a6fba480467285 100644
--- a/include/linux/interrupt.h
+++ b/include/linux/interrupt.h
@@ -155,7 +155,7 @@ extern int __must_check
request_percpu_irq(unsigned int irq, irq_handler_t handler,
const char *devname, void __percpu *percpu_dev_id);
-extern void free_irq(unsigned int, void *);
+extern const void *free_irq(unsigned int, void *);
extern void free_percpu_irq(unsigned int, void __percpu *);
struct device;