diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2019-02-13 20:42:06 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2019-02-25 17:20:58 +0300 |
commit | 3958790e673244ec3b0c62197b7372af303f1351 (patch) | |
tree | ce4b9063cbecead5162e14c306d6c0ddc5f87951 /drivers/mmc | |
parent | de13d5a44e61366ab5b75c111449ca284b6e3f5d (diff) | |
download | linux-3958790e673244ec3b0c62197b7372af303f1351.tar.xz |
mmc: core: Convert mmc_regulator_get_ocrmask() to static
The only left user of mmc_regulator_get_ocrmask() is the mmc core itself.
Therefore, let's drop the export and turn it into static.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/core/regulator.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/core/regulator.c b/drivers/mmc/core/regulator.c index 80f95f86ca0e..b6febbcf8978 100644 --- a/drivers/mmc/core/regulator.c +++ b/drivers/mmc/core/regulator.c @@ -58,7 +58,7 @@ static int mmc_ocrbitnum_to_vdd(int vdd_bit, int *min_uV, int *max_uV) * regulator. This would normally be called before registering the * MMC host adapter. */ -int mmc_regulator_get_ocrmask(struct regulator *supply) +static int mmc_regulator_get_ocrmask(struct regulator *supply) { int result = 0; int count; @@ -90,7 +90,6 @@ int mmc_regulator_get_ocrmask(struct regulator *supply) return result; } -EXPORT_SYMBOL_GPL(mmc_regulator_get_ocrmask); /** * mmc_regulator_set_ocr - set regulator to match host->ios voltage |