mfd: tps65090: MFD_TPS65090 needs to select REGMAP_IRQ
authorAxel Lin <axel.lin@ingics.com>
Tue, 27 Nov 2012 07:15:17 +0000 (15:15 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 27 Nov 2012 08:43:13 +0000 (09:43 +0100)
This fixes below build error:

drivers/built-in.o: In function `tps65090_i2c_probe':
drivers/mfd/tps65090.c:180: undefined reference to `regmap_add_irq_chip'
drivers/mfd/tps65090.c:190: undefined reference to `regmap_irq_chip_get_base'
drivers/mfd/tps65090.c:203: undefined reference to `regmap_del_irq_chip'
drivers/built-in.o: In function `tps65090_i2c_remove':
drivers/mfd/tps65090.c:213: undefined reference to `regmap_del_irq_chip'
make: *** [vmlinux] Error 1

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/Kconfig

index 475c266..5ba95d4 100644 (file)
@@ -1016,6 +1016,7 @@ config MFD_TPS65090
        depends on I2C=y && GENERIC_HARDIRQS
        select MFD_CORE
        select REGMAP_I2C
+       select REGMAP_IRQ
        help
          If you say yes here you get support for the TPS65090 series of
          Power Management chips.