From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: [PATCH -next] mfd: fix arizona-irq.c build by selecting REGMAP_IRQ Date: Mon, 23 Jul 2012 10:32:58 -0700 Message-ID: <500D8ACA.4020501@xenotime.net> References: <20120723164036.52bc93caafcd165fc16f0284@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from oproxy7-pub.bluehost.com ([67.222.55.9]:46986 "HELO oproxy7-pub.bluehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754151Ab2GWRd6 (ORCPT ); Mon, 23 Jul 2012 13:33:58 -0400 In-Reply-To: <20120723164036.52bc93caafcd165fc16f0284@canb.auug.org.au> Sender: linux-next-owner@vger.kernel.org List-ID: To: Stephen Rothwell Cc: linux-next@vger.kernel.org, LKML , Samuel Ortiz , Mark Brown From: Randy Dunlap 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 Cc: Samuel Ortiz Cc: Mark Brown --- 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