summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/Kconfig
diff options
context:
space:
mode:
authorMark Brown2011-10-25 10:19:04 +0200
committerMark Brown2011-12-12 17:14:06 +0100
commit8ab30691826fc05efa47c4ffba19b80496bb3a2c (patch)
treeb1c405e1eebfd3127ccb5aba5c71eb547bc59687 /drivers/mfd/Kconfig
parentMerge branch 'topic/irq' of git://git.kernel.org/pub/scm/linux/kernel/git/bro... (diff)
downloadkernel-qcow2-linux-8ab30691826fc05efa47c4ffba19b80496bb3a2c.tar.gz
kernel-qcow2-linux-8ab30691826fc05efa47c4ffba19b80496bb3a2c.tar.xz
kernel-qcow2-linux-8ab30691826fc05efa47c4ffba19b80496bb3a2c.zip
mfd: Convert wm8994 to use generic regmap irq_chip
Factor out the irq_chip implementation, substantially reducing the code size for the driver. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/Kconfig')
-rw-r--r--drivers/mfd/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index f1391c21ef26..017f6dbab333 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -477,6 +477,7 @@ config MFD_WM8994
bool "Support Wolfson Microelectronics WM8994"
select MFD_CORE
select REGMAP_I2C
+ select REGMAP_IRQ
depends on I2C=y && GENERIC_HARDIRQS
help
The WM8994 is a highly integrated hi-fi CODEC designed for