mmc: core: Move public functions from card.h to private headers
authorUlf Hansson <ulf.hansson@linaro.org>
Fri, 13 Jan 2017 13:14:14 +0000 (14:14 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 13 Feb 2017 12:20:24 +0000 (13:20 +0100)
commit4facdde11394d44b3869807841042d059f074a07
tree15ff4d1e02c272edda07b6031df701f6ec944a63
parent2e4af7b6554a05406ac03f2792d0415c1ab9aeaa
mmc: core: Move public functions from card.h to private headers

A significant amount of functions and other definitions are available
through the public mmc card.h header file. Let's slim down this public mmc
interface, as to prevent users from abusing it, by moving some of the
functions/definitions to private mmc header files.

This change concentrates on moving the functions into private mmc headers,
following changes may continue with additional clean-ups.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
16 files changed:
drivers/mmc/core/block.c
drivers/mmc/core/bus.c
drivers/mmc/core/bus.h
drivers/mmc/core/card.h [new file with mode: 0644]
drivers/mmc/core/core.c
drivers/mmc/core/debugfs.c
drivers/mmc/core/mmc.c
drivers/mmc/core/mmc_test.c
drivers/mmc/core/queue.c
drivers/mmc/core/quirks.c
drivers/mmc/core/sd.c
drivers/mmc/core/sdio.c
drivers/mmc/core/sdio_bus.c
drivers/mmc/core/sdio_io.c
drivers/mmc/core/sdio_irq.c
include/linux/mmc/card.h