From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932401AbcHIMxI (ORCPT ); Tue, 9 Aug 2016 08:53:08 -0400 Received: from mail-wm0-f50.google.com ([74.125.82.50]:35834 "EHLO mail-wm0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752522AbcHIMxG (ORCPT ); Tue, 9 Aug 2016 08:53:06 -0400 Date: Tue, 9 Aug 2016 13:54:31 +0100 From: Lee Jones To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Cc: linux-kernel@vger.kernel.org, kernel@pengutronix.de, Mark Brown Subject: Re: [PATCH] mfd: wm8350-i2c: make sure the i2c regmap functions are compiled Message-ID: <20160809125431.GG5243@dell> References: <1469820555-27006-1-git-send-email-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1469820555-27006-1-git-send-email-u.kleine-koenig@pengutronix.de> User-Agent: Mutt/1.6.2 (2016-07-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 29 Jul 2016, Uwe Kleine-König wrote: > This fixes a compile failure: > > drivers/built-in.o: In function `wm8350_i2c_probe': > core.c:(.text+0x828b0): undefined reference to `__devm_regmap_init_i2c' > Makefile:953: recipe for target 'vmlinux' failed > > Fixes: 52b461b86a9f ("mfd: Add regmap cache support for wm8350") > Signed-off-by: Uwe Kleine-König > --- > drivers/mfd/Kconfig | 1 + > 1 file changed, 1 insertion(+) Applied, thanks > diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig > index 2d1fb6420592..580f4f280d6b 100644 > --- a/drivers/mfd/Kconfig > +++ b/drivers/mfd/Kconfig > @@ -1549,6 +1549,7 @@ config MFD_WM8350 > config MFD_WM8350_I2C > bool "Wolfson Microelectronics WM8350 with I2C" > select MFD_WM8350 > + select REGMAP_I2C > depends on I2C=y > help > The WM8350 is an integrated audio and power management -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog