Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

geode: reflect mfgpt dependency on mfd

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>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Philip A. Prindeville and committed by
Linus Torvalds
703f03c8 005bdad7

+1 -2
+1 -2
drivers/misc/Kconfig
··· 245 245 246 246 config CS5535_MFGPT 247 247 tristate "CS5535/CS5536 Geode Multi-Function General Purpose Timer (MFGPT) support" 248 - depends on PCI 249 - depends on X86 248 + depends on PCI && X86 && MFD_CS5535 250 249 default n 251 250 help 252 251 This driver provides access to MFGPT functionality for other