gpio/cs5535: Show explicit dependency between gpio_cs5535 and mfd_cs5535
authorEd Wildgoose <[email protected]>
Thu, 7 Apr 2011 22:51:15 +0000 (15:51 -0700)
committerGrant Likely <[email protected]>
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 <[email protected]>
Acked-by: Andres Salomon <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Grant Likely <[email protected]>
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