[PATCH] mfd: TWL6040_CORE needs to select IRQ_DOMAIN

From: Randy Dunlap
Date: Wed Jun 20 2012 - 15:54:14 EST


From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

Fix build error by selecting IRQ_DOMAIN:

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)

Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
Cc: Samuel Ortiz <sameo@xxxxxxxxxxxxxxx>
Cc: Misael Lopez Cruz <misael.lopez@xxxxxx>
---
drivers/mfd/Kconfig | 1 +
1 file changed, 1 insertion(+)

--- linux-next-20120620.orig/drivers/mfd/Kconfig
+++ linux-next-20120620/drivers/mfd/Kconfig
@@ -286,6 +286,7 @@ config TWL6040_CORE
depends on I2C=y && GENERIC_HARDIRQS
select MFD_CORE
select REGMAP_I2C
+ select IRQ_DOMAIN
default n
help
Say yes here if you want support for Texas Instruments TWL6040 audio
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/