mfd: tps65910: Select REGMAP_IRQ in Kconfig to fix build error
authorAnilKumar Ch <anilkumar@ti.com>
Mon, 10 Dec 2012 11:14:56 +0000 (16:44 +0530)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 22 Jan 2013 00:23:36 +0000 (01:23 +0100)
commitee487114f0274ed62c92a727787cd6fa4d465157
tree077438ecb0102dcd6056ad5e9084a3a8f82c6f65
parente1bfe75d66f809ad61d0a6d070dc78bb05369026
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>
drivers/mfd/Kconfig