mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-07 09:46:39 +07:00
f397c8d80a
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>
19 lines
578 B
Makefile
19 lines
578 B
Makefile
#
|
|
# Makefile for the kernel mmc core.
|
|
#
|
|
|
|
obj-$(CONFIG_MMC) += mmc_core.o
|
|
mmc_core-y := core.o bus.o host.o \
|
|
mmc.o mmc_ops.o sd.o sd_ops.o \
|
|
sdio.o sdio_ops.o sdio_bus.o \
|
|
sdio_cis.o sdio_io.o sdio_irq.o \
|
|
quirks.o slot-gpio.o
|
|
mmc_core-$(CONFIG_OF) += pwrseq.o
|
|
obj-$(CONFIG_PWRSEQ_SIMPLE) += pwrseq_simple.o
|
|
obj-$(CONFIG_PWRSEQ_EMMC) += pwrseq_emmc.o
|
|
mmc_core-$(CONFIG_DEBUG_FS) += debugfs.o
|
|
obj-$(CONFIG_MMC_BLOCK) += mmc_block.o
|
|
mmc_block-objs := block.o queue.o
|
|
obj-$(CONFIG_MMC_TEST) += mmc_test.o
|
|
obj-$(CONFIG_SDIO_UART) += sdio_uart.o
|