mmc: sdhci: Factor out sdhci_enable_clk
authorRitesh Harjani <riteshh@codeaurora.org>
Mon, 21 Nov 2016 06:37:19 +0000 (12:07 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 29 Nov 2016 08:05:15 +0000 (09:05 +0100)
commitfec796739740f98737595b0ed72c6fd9d5f718e3
tree9cc93c08e19899742ef51ceca125f2aa17d343b6
parenta0e3142869d29688de6f77be31aa7a401a4a88f1
mmc: sdhci: Factor out sdhci_enable_clk

Factor out sdhci_enable_clk from sdhci_set_clock
and make it EXPORT_SYMBOL so that it can be called.

Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c
drivers/mmc/host/sdhci.h