Skip to contentSkip to conversation

mfd: fix rt5033 build, needs to select REGMAP_IRQ

PATCH New Randy Dunlap 1 participant 1 message Apr 13, 2015 Multifunction devices (MFD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mfd: fix rt5033 build, needs to select REGMAP_IRQ

From: Randy Dunlap <[email protected]>

rt5033.c uses regmap_irq*() intefaces so it should select REGMAP_IRQ to fix build errors.

ERROR: "regmap_irq_get_domain" [drivers/mfd/rt5033.ko] undefined!
ERROR: "regmap_add_irq_chip" [drivers/mfd/rt5033.ko] undefined!

---
 drivers/mfd/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/mfd/Kconfig +1 -0
@@ -655,6 +655,7 @@ config MFD_RT5033
 	depends on I2C=y
 	select MFD_CORE
 	select REGMAP_I2C
+	select REGMAP_IRQ
 	help
 	  This driver provides for the Richtek RT5033 Power Management IC,
 	  which includes the I2C driver and the Core APIs. This driver provides