lkml.org 
[lkml]   [2012]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH -next] mfd: fix arizona-irq.c build by selecting REGMAP_IRQ
From: Randy Dunlap <rdunlap@xenotime.net>

arizona-irq.c uses functions that are only available when
CONFIG_REGMAP_IRQ is enabled, so select that symbol for
arizona builds.

Fixes these build errors:

arizona-irq.c:(.text+0xb2d47): undefined reference to `regmap_irq_get_virq'
(.text+0xb2fe3): undefined reference to `regmap_add_irq_chip'
(.text+0xb3173): undefined reference to `regmap_del_irq_chip'

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
drivers/mfd/Kconfig | 1 +
1 file changed, 1 insertion(+)

--- linux-next-20120723.orig/drivers/mfd/Kconfig
+++ linux-next-20120723/drivers/mfd/Kconfig
@@ -523,6 +523,7 @@ config MFD_SEC_CORE

config MFD_ARIZONA
select REGMAP
+ select REGMAP_IRQ
bool

config MFD_ARIZONA_I2C

\
 
 \ /
  Last update: 2012-07-23 20:21    [W:0.189 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site