[lkml]   [2015]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] mfd: fix rt5033 build, needs to select REGMAP_IRQ
From: Randy Dunlap <>

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!

Reported-by: Douglas Gilbert <>
Signed-off-by: Randy Dunlap <>
Cc: Samuel Ortiz <>
Cc: Lee Jones <>
drivers/mfd/Kconfig | 1 +
1 file changed, 1 insertion(+)

--- lnx-40.orig/drivers/mfd/Kconfig
+++ lnx-40/drivers/mfd/Kconfig
@@ -655,6 +655,7 @@ config MFD_RT5033
depends on I2C=y
select MFD_CORE
select REGMAP_I2C
+ select REGMAP_IRQ
This driver provides for the Richtek RT5033 Power Management IC,
which includes the I2C driver and the Core APIs. This driver provides

 \ /
  Last update: 2015-04-13 05:21    [W:0.022 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site