mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
![Ulf Hansson](/assets/img/avatar_default.png)
Once upon a time it made sense to keep the mmc block device driver and its related code, in its own directory called card. Over time, more an more functions/structures have become shared through generic mmc header files, between the core and the card directory. In other words, the relationship between them has become closer. By sharing functions/structures via generic header files, it becomes easy for outside users to abuse them. In a way to avoid that from happen, let's move the files from card directory into the core directory, as it enables us to move definitions of functions/structures into mmc core specific header files. Note, this is only the first step in providing a cleaner mmc interface for outside users. Following changes will do the actual cleanup, as that is not part of this change. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
28 lines
590 B
Text
28 lines
590 B
Text
#
|
|
# MMC subsystem configuration
|
|
#
|
|
|
|
menuconfig MMC
|
|
tristate "MMC/SD/SDIO card support"
|
|
depends on HAS_IOMEM
|
|
help
|
|
This selects MultiMediaCard, Secure Digital and Secure
|
|
Digital I/O support.
|
|
|
|
If you want MMC/SD/SDIO support, you should say Y here and
|
|
also to your specific host controller driver.
|
|
|
|
config MMC_DEBUG
|
|
bool "MMC debugging"
|
|
depends on MMC != n
|
|
help
|
|
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/host/Kconfig"
|
|
|
|
endif # MMC
|