Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1452529 > unrolled thread

[PATCH] mfd: wm8350-i2c: make sure the i2c regmap functions are compiled

Started byUwe Kleine-König <u.kleine-koenig@pengutronix.de>
First post2016-07-29 21:30 +0200
Last post2016-08-09 15:00 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] mfd: wm8350-i2c: make sure the i2c regmap functions are compiled Uwe Kleine-König   <u.kleine-koenig@pengutronix.de> - 2016-07-29 21:30 +0200
    Re: [PATCH] mfd: wm8350-i2c: make sure the i2c regmap functions are  compiled Charles Keepax <ckeepax@opensource.wolfsonmicro.com> - 2016-08-08 10:20 +0200
    Re: [PATCH] mfd: wm8350-i2c: make sure the i2c regmap functions are  compiled Lee Jones <lee.jones@linaro.org> - 2016-08-09 15:00 +0200

#1452529 — [PATCH] mfd: wm8350-i2c: make sure the i2c regmap functions are compiled

FromUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date2016-07-29 21:30 +0200
Subject[PATCH] mfd: wm8350-i2c: make sure the i2c regmap functions are compiled
Message-ID<s0lDQ-um-5@gated-at.bofh.it>
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 <u.kleine-koenig@pengutronix.de>
---
 drivers/mfd/Kconfig | 1 +
 1 file changed, 1 insertion(+)

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
-- 
2.8.1

[toc] | [next] | [standalone]


#1457600 — Re: [PATCH] mfd: wm8350-i2c: make sure the i2c regmap functions are compiled

FromCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Date2016-08-08 10:20 +0200
SubjectRe: [PATCH] mfd: wm8350-i2c: make sure the i2c regmap functions are compiled
Message-ID<s3NWV-7is-5@gated-at.bofh.it>
In reply to#1452529
On Fri, Jul 29, 2016 at 09:29:15PM +0200, 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 <u.kleine-koenig@pengutronix.de>
> ---

Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>

Thanks,
Charles

[toc] | [prev] | [next] | [standalone]


#1458719 — Re: [PATCH] mfd: wm8350-i2c: make sure the i2c regmap functions are compiled

FromLee Jones <lee.jones@linaro.org>
Date2016-08-09 15:00 +0200
SubjectRe: [PATCH] mfd: wm8350-i2c: make sure the i2c regmap functions are compiled
Message-ID<s4eNs-7FJ-37@gated-at.bofh.it>
In reply to#1452529
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 <u.kleine-koenig@pengutronix.de>
> ---
>  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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web