gpio/cs5535: Show explicit dependency between gpio_cs5535 and mfd_cs5535
authorEd Wildgoose <kernel@wildgooses.com>
Thu, 7 Apr 2011 22:51:15 +0000 (15:51 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 26 May 2011 19:54:18 +0000 (13:54 -0600)
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>
drivers/gpio/Kconfig

index b57ec09af891698dd1dc990c77cc4dfc9a2eed24..ebd1124b07642a154f05760616fbef89a62a2851 100644 (file)
@@ -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