Re: [PATCH] gpio: Show explicit dependency between GPIO_CS5535 andMFD_CS5535

From: Andres Salomon
Date: Sat Mar 19 2011 - 15:59:43 EST


On Sat, 19 Mar 2011 17:46:25 +0000
kernel@xxxxxxxxxxxxxx wrote:

> From: Ed Wildgoose <kernel@xxxxxxxxxxxxxx>
>
> 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@xxxxxxxxxx>

>
> Signed-off-by: Ed Wildgoose <kernel@xxxxxxxxxxxxxx>
> ---
> :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
--
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/