diff options
author | Richard Weinberger <richard@nod.at> | 2012-04-17 22:37:13 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2012-05-21 21:09:36 +0200 |
commit | fa7a0449e0ea6588f64c06a045ea8728280f3457 (patch) | |
tree | 3a309dc94896e03d55707f07813bc1b325a4ee75 /arch/um/include | |
parent | 2b76ebaa728f8a3967c52aa189261c72fe56a6f1 (diff) | |
download | linux-fa7a0449e0ea6588f64c06a045ea8728280f3457.tar.bz2 |
um: Implement um_free_irq()
Instead of using chip->release() we can achieve the same
using a simple wrapper for free_irq().
We have already um_request_irq(), so um_free_irq() is the perfect
counterpart.
Signed-off-by: Richard Weinberger <richard@nod.at>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/um/include')
-rw-r--r-- | arch/um/include/shared/irq_kern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/include/shared/irq_kern.h b/arch/um/include/shared/irq_kern.h index b05d22f3d84e..7a5bfa6291b8 100644 --- a/arch/um/include/shared/irq_kern.h +++ b/arch/um/include/shared/irq_kern.h @@ -13,6 +13,6 @@ extern int um_request_irq(unsigned int irq, int fd, int type, irq_handler_t handler, unsigned long irqflags, const char * devname, void *dev_id); - +void um_free_irq(unsigned int irq, void *dev); #endif |