mfd: Update twl6040 Kconfig to avoid build breakage
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 8 Jun 2012 08:54:21 +0000 (11:54 +0300)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 8 Jul 2012 22:16:11 +0000 (00:16 +0200)
commita834e81051fd51890bd9a64e109b587f8e12199a
tree0b8663e4cc53bc640c0e1d3192153f45b20efaf7
parentff2b7ac6f6c58b0011d9d73004fb6e396f514018
mfd: Update twl6040 Kconfig to avoid build breakage

twl6040 needs CONFIG_IRQ_DOMAIN to compile, without this we have:
drivers/mfd/twl6040-irq.c: In function 'twl6040_irq_init':
drivers/mfd/twl6040-irq.c:164:2: error: implicit declaration of function 'irq_domain_add_legacy'
drivers/mfd/twl6040-irq.c:165:11: error: 'irq_domain_simple_ops' undeclared (first use in this function)
drivers/mfd/twl6040-irq.c:165:11: note: each undeclared identifier is reported only once for each function it appears in

Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/Kconfig