From: Ed Wildgoose <kernel@wildgooses.com>
Date: Thu, 7 Apr 2011 22:51:15 +0000 (-0700)
Subject: gpio/cs5535: Show explicit dependency between gpio_cs5535 and mfd_cs5535
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=073cc4e95ad5dd2d86f5328b9ea5c9355907c6a2;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

gpio/cs5535: Show explicit dependency between gpio_cs5535 and mfd_cs5535

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

Signed-off-by: Ed Wildgoose <kernel@wildgooses.com>
Acked-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
---

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index b57ec09af891..ebd1124b0764 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -303,7 +303,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