mmc: block: Move files to core
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 8 Dec 2016 10:23:49 +0000 (11:23 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 12 Dec 2016 15:30:05 +0000 (16:30 +0100)
commitf397c8d80a5e413984bd9ccdf4161c7156b365ce
tree9767f0418fe8ef53d6571fefc8b7b53558b7fce0
parentff6af28faff53a7389230026b83e543385f7b21d
mmc: block: Move files to core

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>
18 files changed:
drivers/mmc/Kconfig
drivers/mmc/Makefile
drivers/mmc/card/Kconfig [deleted file]
drivers/mmc/card/Makefile [deleted file]
drivers/mmc/card/block.c [deleted file]
drivers/mmc/card/block.h [deleted file]
drivers/mmc/card/mmc_test.c [deleted file]
drivers/mmc/card/queue.c [deleted file]
drivers/mmc/card/queue.h [deleted file]
drivers/mmc/card/sdio_uart.c [deleted file]
drivers/mmc/core/Kconfig
drivers/mmc/core/Makefile
drivers/mmc/core/block.c [new file with mode: 0644]
drivers/mmc/core/block.h [new file with mode: 0644]
drivers/mmc/core/mmc_test.c [new file with mode: 0644]
drivers/mmc/core/queue.c [new file with mode: 0644]
drivers/mmc/core/queue.h [new file with mode: 0644]
drivers/mmc/core/sdio_uart.c [new file with mode: 0644]