]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
geode: reflect mfgpt dependency on mfd
authorPhilip A. Prindeville <philipp@redfish-solutions.com>
Tue, 26 Jul 2011 00:13:05 +0000 (17:13 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 8 Aug 2011 17:36:00 +0000 (10:36 -0700)
commit 703f03c896fdbd726b809066ae279df513992f0e upstream.

As stated in drivers/mfd/cs5535-mfd.c, the mfd driver exposes the BARs
which then make the GPIO, MFGPT, ACPI, etc.  all visible to the system.

So the dependencies of the MFGPT stuff have changed, and most people
expect Kconfig to bring in the necessary dependencies.  Without them, the
module fails to load and most people don't understand why because the
details of the rewrite aren't captured anywhere most people who know to
look.

This dependency needs to be reflected in Kconfig.

Signed-off-by: Philip A. Prindeville <philipp@redfish-solutions.com>
Acked-by: Alexandros C. Couloumbis <alex@ozo.com>
Acked-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/misc/Kconfig

index e3551d20464fe8f56c9edecfd9babe8c496e1aec..ce97078c0b075686779131b9b5d6d989cf74f595 100644 (file)
@@ -189,8 +189,7 @@ config SGI_XP
 
 config CS5535_MFGPT
        tristate "CS5535/CS5536 Geode Multi-Function General Purpose Timer (MFGPT) support"
-       depends on PCI
-       depends on X86
+       depends on PCI && X86 && MFD_CS5535
        default n
        help
          This driver provides access to MFGPT functionality for other