Re: [PATCH] mfd: Force I2C to be built in when building WM831x

From: Samuel Ortiz
Date: Tue Nov 24 2009 - 18:18:18 EST


Hi Mark,

On Tue, Nov 24, 2009 at 10:48:56AM +0000, Mark Brown wrote:
> This works around issues with allmodconfig where it won't propagate the
> dependency from the WM831x core back to the I2C and MFD cores. When
> doing allmodconfig this causes WM831x to be omitted and ensures that in
> normal builds the dependencies get shaken out.
Applied, thanks for looking at this.

Cheers,
Samuel.


> Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/mfd/Kconfig | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
> index 434bc2f..c33a526 100644
> --- a/drivers/mfd/Kconfig
> +++ b/drivers/mfd/Kconfig
> @@ -183,7 +183,7 @@ config MFD_WM8400
> config MFD_WM831X
> bool "Support Wolfson Microelectronics WM831x/2x PMICs"
> select MFD_CORE
> - depends on I2C
> + depends on I2C=y
> help
> Support for the Wolfson Microelecronics WM831x and WM832x PMICs.
> This driver provides common support for accessing the device,
> --
> 1.6.3.3
>

--
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/