diff options
author | Misael Lopez Cruz <misael.lopez@ti.com> | 2011-12-19 20:01:52 -0600 |
---|---|---|
committer | Ziyann <jaraidaniel@gmail.com> | 2014-09-30 22:06:24 +0200 |
commit | be54e81fe2840c98513cec210b16ab2dbe292409 (patch) | |
tree | 235174ff90701249b25e61e0396159bcb16e330e /include/linux/mfd | |
parent | ef7d688307cacaab3232bdb4c0912021d4cfba46 (diff) | |
download | kernel_samsung_tuna-be54e81fe2840c98513cec210b16ab2dbe292409.zip kernel_samsung_tuna-be54e81fe2840c98513cec210b16ab2dbe292409.tar.gz kernel_samsung_tuna-be54e81fe2840c98513cec210b16ab2dbe292409.tar.bz2 |
MFD: twl6040-codec: Allow passing flags to IRQ request
Allow passing irqflags to TWL6040 IRQ request API (twl6040_request_irq).
Change-Id: I731931c4f8fc9aee57bb3707c94f7b763e140c0a
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/twl6040-codec.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/mfd/twl6040-codec.h b/include/linux/mfd/twl6040-codec.h index 471111a..b2eb70b 100644 --- a/include/linux/mfd/twl6040-codec.h +++ b/include/linux/mfd/twl6040-codec.h @@ -231,14 +231,15 @@ struct twl6040 { }; static inline int twl6040_request_irq(struct twl6040 *twl6040, int irq, - irq_handler_t handler, const char *name, - void *data) + irq_handler_t handler, + unsigned long irqflags, + const char *name, void *data) { if (!twl6040->irq_base) return -EINVAL; return request_threaded_irq(twl6040->irq_base + irq, NULL, handler, - 0, name, data); + irqflags, name, data); } static inline void twl6040_free_irq(struct twl6040 *twl6040, int irq, |