diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-03-26 16:49:15 +0000 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-04-05 19:18:07 +0100 |
commit | c9fbf7e070bbf9cc7adc1420df87706c62cb04ed (patch) | |
tree | 38770c150750f3f11b59643302312762494b546e /include/linux/mfd/wm8994/pdata.h | |
parent | 8c0d8fa26ba5ec1f69e88044c671dab58c51e0e1 (diff) | |
download | linux-c9fbf7e070bbf9cc7adc1420df87706c62cb04ed.tar.gz linux-c9fbf7e070bbf9cc7adc1420df87706c62cb04ed.tar.bz2 linux-c9fbf7e070bbf9cc7adc1420df87706c62cb04ed.zip |
mfd: Add WM8994 interrupt controller support
The WM8994 has an interrupt controller which supports interrupts for
both CODEC and GPIO portions of the chip. Support this using genirq,
while allowing for systems that do not have an interrupt hooked up.
Wrapper functions are provided for the IRQ request and free to simplify
the code in consumer drivers when handling cases where IRQs are not
set up.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd/wm8994/pdata.h')
-rw-r--r-- | include/linux/mfd/wm8994/pdata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/wm8994/pdata.h b/include/linux/mfd/wm8994/pdata.h index 70d6a8687dc5..5c51f367c061 100644 --- a/include/linux/mfd/wm8994/pdata.h +++ b/include/linux/mfd/wm8994/pdata.h @@ -70,6 +70,7 @@ struct wm8994_pdata { struct wm8994_ldo_pdata ldo[WM8994_NUM_LDO]; + int irq_base; /** Base IRQ number for WM8994, required for IRQs */ int num_drc_cfgs; struct wm8994_drc_cfg *drc_cfgs; |