summaryrefslogtreecommitdiff
path: root/drivers/mmc/core/block.c
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2017-01-13 16:14:08 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2017-02-13 15:20:21 +0300
commit55244c5659b5e73a969b285a2e763223d8aab979 (patch)
treea8b1377b527dd16e4b3c70c7b5fde232049c433f /drivers/mmc/core/block.c
parent066185d690631478b16045d152b163a51a5e4847 (diff)
downloadlinux-55244c5659b5e73a969b285a2e763223d8aab979.tar.xz
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>
Diffstat (limited to 'drivers/mmc/core/block.c')
-rw-r--r--drivers/mmc/core/block.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mmc/core/block.c b/drivers/mmc/core/block.c
index 6adc3ce28447..41b5dbcd5b5a 100644
--- a/drivers/mmc/core/block.c
+++ b/drivers/mmc/core/block.c
@@ -47,6 +47,9 @@
#include "queue.h"
#include "block.h"
+#include "core.h"
+#include "mmc_ops.h"
+#include "sd_ops.h"
MODULE_ALIAS("mmc:block");
#ifdef MODULE_PARAM_PREFIX