diff options
author | AnilKumar Ch <anilkumar@ti.com> | 2012-12-10 16:44:56 +0530 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-01-22 01:23:36 +0100 |
commit | ee487114f0274ed62c92a727787cd6fa4d465157 (patch) | |
tree | 077438ecb0102dcd6056ad5e9084a3a8f82c6f65 /drivers/mfd | |
parent | e1bfe75d66f809ad61d0a6d070dc78bb05369026 (diff) | |
download | talos-obmc-linux-ee487114f0274ed62c92a727787cd6fa4d465157.tar.gz talos-obmc-linux-ee487114f0274ed62c92a727787cd6fa4d465157.zip |
mfd: tps65910: Select REGMAP_IRQ in Kconfig to fix build error
TPS65910 mfd driver uses functions that are only avaiable when
REGMAP_IRQ is enabled. So "select REGMAP_IRQ" is added to mfd
Kconfig to fix below build error:
drivers/built-in.o: In function `tps65910_irq_exit':
/media/anil/kernel/drivers/mfd/tps65910.c:265: undefined reference to `regmap_del_irq_chip'
drivers/built-in.o: In function `tps65910_irq_init':
/media/anil/kernel/drivers/mfd/tps65910.c:254: undefined reference to `regmap_add_irq_chip'
drivers/built-in.o: In function `tps65910_i2c_probe':
/media/anil/kernel/drivers/mfd/tps65910.c:509: undefined reference to `regmap_irq_get_domain'
make: *** [vmlinux] Error 1
Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
Tested-by: Matt Porter <mporter@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 47ad4e270877..ff553babf455 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -237,6 +237,7 @@ config MFD_TPS65910 depends on I2C=y && GPIOLIB select MFD_CORE select REGMAP_I2C + select REGMAP_IRQ select IRQ_DOMAIN help if you say yes here you get support for the TPS65910 series of |