diff options
author | Axel Lin <axel.lin@ingics.com> | 2012-12-05 08:19:48 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-12-09 09:15:37 -0500 |
commit | c2ace4fdd0efce3e2fbd930300524191dd7180ae (patch) | |
tree | bff481bd57a16b6a40c8a236cb647231ab492570 /drivers/mfd/Kconfig | |
parent | f69b01c5ce4f8ecc95605e4115d653e65c2e4dcc (diff) |
mfd: tps80031: MFD_TPS80031 needs to select REGMAP_IRQ
This driver uses regmap_irq APIs, thus need to select REGMAP_IRQ.
IRQ_DOMAIN will be selected if select REGMAP_IRQ, thus remove it here.
This fixes below build errors:
drivers/built-in.o: In function `tps80031_remove':
drivers/mfd/tps80031.c:534: undefined reference to `regmap_del_irq_chip'
drivers/built-in.o: In function `tps80031_irq_init':
drivers/mfd/tps80031.c:305: undefined reference to `regmap_add_irq_chip'
drivers/built-in.o: In function `tps80031_probe':
drivers/mfd/tps80031.c:496: undefined reference to `regmap_irq_get_domain'
drivers/mfd/tps80031.c:512: undefined reference to `regmap_del_irq_chip'
make: *** [vmlinux] Error 1
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/Kconfig')
-rw-r--r-- | drivers/mfd/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 5ba95d4bff5c..50bbe88d1664 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig | |||
@@ -270,7 +270,7 @@ config MFD_TPS80031 | |||
270 | depends on I2C=y && GENERIC_HARDIRQS | 270 | depends on I2C=y && GENERIC_HARDIRQS |
271 | select MFD_CORE | 271 | select MFD_CORE |
272 | select REGMAP_I2C | 272 | select REGMAP_I2C |
273 | select IRQ_DOMAIN | 273 | select REGMAP_IRQ |
274 | help | 274 | help |
275 | If you say yes here you get support for the Texas Instruments | 275 | If you say yes here you get support for the Texas Instruments |
276 | TPS80031/ TPS80032 Fully Integrated Power Management with Power | 276 | TPS80031/ TPS80032 Fully Integrated Power Management with Power |