Commit ee487114f0274ed62c92a727787cd6fa4d465157

Authored by AnilKumar Ch
Committed by Samuel Ortiz
1 parent e1bfe75d66

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

... ... @@ -237,6 +237,7 @@
237 237 depends on I2C=y && GPIOLIB
238 238 select MFD_CORE
239 239 select REGMAP_I2C
  240 + select REGMAP_IRQ
240 241 select IRQ_DOMAIN
241 242 help
242 243 if you say yes here you get support for the TPS65910 series of