summaryrefslogtreecommitdiff
path: root/drivers/mfd
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-05-10 23:07:34 (GMT)
committerSamuel Ortiz <sameo@linux.intel.com>2010-05-27 23:37:47 (GMT)
commit38270644cc2f2c1fdf150dcc8c4b96136eb4e1f7 (patch)
tree8558f7232c40ec5fe5d522bb0d9838b358abcb44 /drivers/mfd
parentd162251d1b8860ef489aecb712e5f06c33763ef3 (diff)
downloadlinux-fsl-qoriq-38270644cc2f2c1fdf150dcc8c4b96136eb4e1f7.tar.xz
mfd: Use menuconfig for quicker config editing
Change MFD 'menu' to 'menuconfig' to facilitate easy (one-click) disabling of all MFD drivers. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/Kconfig10
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index a20fa23..b84b707 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -2,8 +2,14 @@
# Multifunction miscellaneous devices
#
-menu "Multifunction device drivers"
+menuconfig MFD_SUPPORT
+ bool "Multifunction device drivers"
depends on HAS_IOMEM
+ default y
+ help
+ Configure MFD device drivers.
+
+if MFD_SUPPORT
config MFD_CORE
tristate
@@ -475,7 +481,7 @@ config MFD_JANZ_CMODIO
host many different types of MODULbus daughterboards, including
CAN and GPIO controllers.
-endmenu
+endif # MFD_SUPPORT
menu "Multimedia Capabilities Port drivers"
depends on ARCH_SA1100