summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/Kconfig
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@gmx.de>2007-05-08 22:30:32 +0200
committerPierre Ossman <drzeus@drzeus.cx>2007-05-08 22:41:55 +0200
commit790864dcc2b3fe65355dd84ef8481e54b1bc61b6 (patch)
tree0b544fde6b0ecab144df3ecb9b584bbb6522465c /drivers/mmc/Kconfig
parentdisable socket power in adapter driver instead of media one (diff)
downloadlinux-790864dcc2b3fe65355dd84ef8481e54b1bc61b6.tar.xz
linux-790864dcc2b3fe65355dd84ef8481e54b1bc61b6.zip
mmc: Use menuconfig objects
Change Kconfig objects from "menu, config" into "menuconfig" so that the user can disable the whole feature without having to enter the menu first. Signed-off-by: Jan Engelhardt <jengelh@gmx.de> Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc/Kconfig')
-rw-r--r--drivers/mmc/Kconfig10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig
index 6c97491543db..45b7d53b949c 100644
--- a/drivers/mmc/Kconfig
+++ b/drivers/mmc/Kconfig
@@ -2,10 +2,8 @@
# MMC subsystem configuration
#
-menu "MMC/SD Card support"
-
-config MMC
- tristate "MMC support"
+menuconfig MMC
+ tristate "MMC/SD card support"
help
MMC is the "multi-media card" bus protocol.
@@ -19,10 +17,12 @@ config MMC_DEBUG
This is an option for use by developers; most people should
say N here. This enables MMC core and driver debugging.
+if MMC
+
source "drivers/mmc/core/Kconfig"
source "drivers/mmc/card/Kconfig"
source "drivers/mmc/host/Kconfig"
-endmenu
+endif # MMC