OSDN Git Service

mmc: core: Move public functions from core.h to private headers
authorUlf Hansson <ulf.hansson@linaro.org>
Fri, 13 Jan 2017 13:14:08 +0000 (14:14 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 13 Feb 2017 12:20:21 +0000 (13:20 +0100)
commit55244c5659b5e73a969b285a2e763223d8aab979
treea8b1377b527dd16e4b3c70c7b5fde232049c433f
parent066185d690631478b16045d152b163a51a5e4847
mmc: core: Move public functions from core.h to private headers

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

This change concentrates on moving the functions into private mmc headers,
following changes may continue with additional clean-ups, as an example
some functions can be turned into static.

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>
drivers/mmc/core/block.c
drivers/mmc/core/core.h
drivers/mmc/core/mmc_ops.h
drivers/mmc/core/mmc_test.c
drivers/mmc/core/queue.c
drivers/mmc/core/sd_ops.h
drivers/mmc/core/sdio_io.c
drivers/mmc/core/sdio_irq.c
drivers/mmc/core/sdio_ops.h
include/linux/mmc/core.h