[PATCH] mfd: fix MAX77693 dependency on IRQ_DOMAIN

From: Michal Hocko
Date: Tue Sep 18 2012 - 06:01:35 EST


The driver needs CONFIG_IRQ_DOMAIN because it uses max77693_irq_thread and
max77693_irq_init.

drivers/mfd/max77693-irq.c: In function âmax77693_irq_threadâ:
drivers/mfd/max77693-irq.c:217: error: implicit declaration of function âirq_find_mappingâ
drivers/mfd/max77693-irq.c: In function âmax77693_irq_initâ:
drivers/mfd/max77693-irq.c:286: error: implicit declaration of function âirq_domain_add_linearâ

Signed-off-by: Michal Hocko <mhocko@xxxxxxx>
---
drivers/mfd/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 92144ed..28ad9a5 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -428,6 +428,7 @@ config MFD_MAX77693
depends on I2C=y && GENERIC_HARDIRQS
select MFD_CORE
select REGMAP_I2C
+ select IRQ_DOMAIN
help
Say yes here to support for Maxim Semiconductor MAX77693.
This is a companion Power Management IC with Flash, Haptic, Charger,
--
1.7.10.4

--
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/