aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/mmc
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2019-02-13 18:10:37 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2019-02-25 15:20:58 +0100
commitde13d5a44e61366ab5b75c111449ca284b6e3f5d (patch)
tree363bc760602f0ea03bc2842a07ac97a9b9281d48 /include/linux/mmc
parentmmc: of_mmc_spi: Convert to mmc_of_parse_voltage() (diff)
downloadwireguard-linux-de13d5a44e61366ab5b75c111449ca284b6e3f5d.tar.xz
wireguard-linux-de13d5a44e61366ab5b75c111449ca284b6e3f5d.zip
mmc: core: Move regulator helpers to separate file
The mmc regulator helper functions, are placed in the extensive core.c file. In a step towards trying to create a better structure of files, avoiding too many lines of code per file, let's move these helpers to a new file, regulator.c. Moreover, this within this context it makes sense to also drop the export of mmc_vddrange_to_ocrmask(), but instead let's make it internal to the mmc core. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux/mmc')
-rw-r--r--include/linux/mmc/host.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index d893902b2f1c..7f93747c8cdc 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -532,7 +532,6 @@ static inline int mmc_regulator_set_vqmmc(struct mmc_host *mmc,
}
#endif
-u32 mmc_vddrange_to_ocrmask(int vdd_min, int vdd_max);
int mmc_regulator_get_supply(struct mmc_host *mmc);
static inline int mmc_card_is_removable(struct mmc_host *host)