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

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>

authored by

Shawn Lin and committed by
Ulf Hansson
03596b92 69f25f9b

+9 -9
-7
drivers/mmc/Kconfig
··· 12 12 If you want MMC/SD/SDIO support, you should say Y here and 13 13 also to your specific host controller driver. 14 14 15 - config 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 - 22 15 if MMC 23 16 24 17 source "drivers/mmc/core/Kconfig"
-2
drivers/mmc/Makefile
··· 2 2 # Makefile for the kernel mmc device drivers. 3 3 # 4 4 5 - subdir-ccflags-$(CONFIG_MMC_DEBUG) := -DDEBUG 6 - 7 5 obj-$(CONFIG_MMC) += core/ 8 6 obj-$(subst m,y,$(CONFIG_MMC)) += host/
+9
drivers/mmc/host/Kconfig
··· 4 4 5 5 comment "MMC/SD/SDIO Host Controller Drivers" 6 6 7 + config 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 + 7 16 config MMC_ARMMMCI 8 17 tristate "ARM AMBA Multimedia Card Interface support" 9 18 depends on ARM_AMBA