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

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 <dgilbert@interlog.com>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Cc: Lee Jones <lee.jones@linaro.org>
---
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
help
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.038 / U:1.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site