aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/Kconfig
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2011-09-02 10:43:36 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2011-10-24 08:09:13 -0400
commit8a0a8e8e42a4e30a1fc4c40205fa790e264d00f3 (patch)
treebeec367a4124f66e803a2c24f9f3345aa7297721 /drivers/mfd/Kconfig
parentb46880e57b4c513adeb2608c3700b352860b5662 (diff)
mfd: remove CONFIG_MFD_SUPPORT
We currently have two symbols to control compilation the MFD subsystem, MFD_SUPPORT and MFD_CORE. The MFD_SUPPORT is actually not required at all, it only hides the submenu when not set, with the effect that Kconfig warns about missing dependencies when another driver selects an MFD driver while MFD_SUPPORT is disabled. Turning the MFD submenu back from menuconfig into a plain menu simplifies the Kconfig syntax for those kinds of users and avoids the surprise when the menu suddenly appears because another driver was enabled that selects this symbol. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/mfd/Kconfig')
-rw-r--r--drivers/mfd/Kconfig22
1 files changed, 4 insertions, 18 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 9c1347dc7a4a..ac8bd4feb047 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -2,23 +2,8 @@
2# Multifunction miscellaneous devices 2# Multifunction miscellaneous devices
3# 3#
4 4
5menuconfig MFD_SUPPORT 5if HAS_IOMEM
6 bool "Multifunction device drivers" 6menu "Multifunction device drivers"
7 depends on HAS_IOMEM
8 default y
9 help
10 Multifunction devices embed several functions (e.g. GPIOs,
11 touchscreens, keyboards, current regulators, power management chips,
12 etc...) in one single integrated circuit. They usually talk to the
13 main CPU through one or more IRQ lines and low speed data busses (SPI,
14 I2C, etc..). They appear as one single device to the main system
15 through the data bus and the MFD framework allows for sub devices
16 (a.k.a. functions) to appear as discrete platform devices.
17 MFDs are typically found on embedded platforms.
18
19 This option alone does not add any kernel code.
20
21if MFD_SUPPORT
22 7
23config MFD_CORE 8config MFD_CORE
24 tristate 9 tristate
@@ -772,7 +757,8 @@ config MFD_AAT2870_CORE
772 additional drivers must be enabled in order to use the 757 additional drivers must be enabled in order to use the
773 functionality of the device. 758 functionality of the device.
774 759
775endif # MFD_SUPPORT 760endmenu
761endif
776 762
777menu "Multimedia Capabilities Port drivers" 763menu "Multimedia Capabilities Port drivers"
778 depends on ARCH_SA1100 764 depends on ARCH_SA1100