lkml.org 
[lkml]   [2011]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] gpio: Show explicit dependency between GPIO_CS5535 and MFD_CS5535
On Sat, 19 Mar 2011 17:46:25 +0000
kernel@wildgooses.com wrote:

> From: Ed Wildgoose <kernel@wildgooses.com>
>
> cs5535-gpio.c has been split into two, with various setup moved
> into cs5535-mfd.c. Given that cs5535-gpio will not load without
> the -mfd part, lets make that dependency explicit in Kconfig

Thanks!

Acked-by: Andres Salomon <dilinger@queued.net>

>
> Signed-off-by: Ed Wildgoose <kernel@wildgooses.com>
> ---
> :100644 100644 664660e... 3246ad4... M drivers/gpio/Kconfig
> drivers/gpio/Kconfig | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
> index 664660e..3246ad4 100644
> --- a/drivers/gpio/Kconfig
> +++ b/drivers/gpio/Kconfig
> @@ -295,7 +295,7 @@ comment "PCI GPIO expanders:"
>
> config GPIO_CS5535
> tristate "AMD CS5535/CS5536 GPIO support"
> - depends on PCI && X86 && !CS5535_GPIO
> + depends on PCI && X86 && !CS5535_GPIO && MFD_CS5535
> help
> The AMD CS5535 and CS5536 southbridges support 28 GPIO
> pins that can be used for quite a number of things. The CS5535/6 is
> found on


\
 
 \ /
  Last update: 2011-03-19 21:01    [W:0.052 / U:3.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site