diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2017-01-13 14:14:14 +0100 |
---|---|---|
committer | Leonard Crestez <leonard.crestez@nxp.com> | 2018-08-24 12:41:33 +0300 |
commit | c3288e76310bd7fe8c847186dbb96c7510a832d2 (patch) | |
tree | 27bc48c782d804983b304e4c142480151e7b4bc9 /drivers/mmc/core/sd.c | |
parent | 185014e664c645562eb7106e22f010bf820a9906 (diff) |
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>
(cherry picked from commit 4facdde11394d44b3869807841042d059f074a07)
Diffstat (limited to 'drivers/mmc/core/sd.c')
-rw-r--r-- | drivers/mmc/core/sd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/core/sd.c b/drivers/mmc/core/sd.c index 335dc6e7359a..2469011b849c 100644 --- a/drivers/mmc/core/sd.c +++ b/drivers/mmc/core/sd.c @@ -22,6 +22,7 @@ #include <linux/mmc/sd.h> #include "core.h" +#include "card.h" #include "bus.h" #include "mmc_ops.h" #include "sd.h" |