aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Lin <shawn.lin@rock-chips.com>2017-07-19 03:55:47 -0400
committerUlf Hansson <ulf.hansson@linaro.org>2017-08-30 08:01:34 -0400
commit03596b927f83004e84cf131aa45c0ee3dfe31b4b (patch)
treedcf4de64ac48c236f2cddc94044dfb9a818fc4cc
parent69f25f9bb0cd7a59c3f1d0ecb541049c2e5fb0f9 (diff)
mmc: Kconfig: downgrade CONFIG_MMC_DEBUG for host drivers only
We have removed all code depending on CONFIG_MMC_DEBUG from mmc core now. So it's safe to make CONFIG_MMC_DEBUG just for host drivers only and we expect to kill this option in the future. Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
-rw-r--r--drivers/mmc/Kconfig7
-rw-r--r--drivers/mmc/Makefile2
-rw-r--r--drivers/mmc/host/Kconfig9
3 files changed, 9 insertions, 9 deletions
diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig
index 7e803fc454d1..ec21388311db 100644
--- a/drivers/mmc/Kconfig
+++ b/drivers/mmc/Kconfig
@@ -12,13 +12,6 @@ menuconfig MMC
12 If you want MMC/SD/SDIO support, you should say Y here and 12 If you want MMC/SD/SDIO support, you should say Y here and
13 also to your specific host controller driver. 13 also to your specific host controller driver.
14 14
15config MMC_DEBUG
16 bool "MMC debugging"
17 depends on MMC != n
18 help
19 This is an option for use by developers; most people should
20 say N here. This enables MMC core and driver debugging.
21
22if MMC 15if MMC
23 16
24source "drivers/mmc/core/Kconfig" 17source "drivers/mmc/core/Kconfig"
diff --git a/drivers/mmc/Makefile b/drivers/mmc/Makefile
index 416b6d1c9ec6..26ab7af4e0f9 100644
--- a/drivers/mmc/Makefile
+++ b/drivers/mmc/Makefile
@@ -2,7 +2,5 @@
2# Makefile for the kernel mmc device drivers. 2# Makefile for the kernel mmc device drivers.
3# 3#
4 4
5subdir-ccflags-$(CONFIG_MMC_DEBUG) := -DDEBUG
6
7obj-$(CONFIG_MMC) += core/ 5obj-$(CONFIG_MMC) += core/
8obj-$(subst m,y,$(CONFIG_MMC)) += host/ 6obj-$(subst m,y,$(CONFIG_MMC)) += host/
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index 2242633550df..66b174965718 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -4,6 +4,15 @@
4 4
5comment "MMC/SD/SDIO Host Controller Drivers" 5comment "MMC/SD/SDIO Host Controller Drivers"
6 6
7config MMC_DEBUG
8 bool "MMC host drivers debugginG"
9 depends on MMC != n
10 help
11 This is an option for use by developers; most people should
12 say N here. This enables MMC host driver debugging. And further
13 added host drivers please don't invent their private macro for
14 debugging.
15
7config MMC_ARMMMCI 16config MMC_ARMMMCI
8 tristate "ARM AMBA Multimedia Card Interface support" 17 tristate "ARM AMBA Multimedia Card Interface support"
9 depends on ARM_AMBA 18 depends on ARM_AMBA