[PATCH] gpio: Show explicit dependency between GPIO_CS5535 and MFD_CS5535
Andres Salomon
dilinger at queued.net
Sat Mar 19 15:59:20 EDT 2011
On Sat, 19 Mar 2011 17:46:25 +0000
kernel at wildgooses.com wrote:
> From: Ed Wildgoose <kernel at 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 at queued.net>
>
> Signed-off-by: Ed Wildgoose <kernel at 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
More information about the Linux-geode
mailing list