summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci.c
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2017-03-20 19:50:43 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2017-04-24 21:41:33 +0200
commitd28981727dccd0e1e867deceaa709bc89f1a5ebc (patch)
tree3fac0104493b558a15097c420721a7a1eefbbb64 /drivers/mmc/host/sdhci.c
parent85ad90e2f819a5c7f5d1005da32660eff7680abf (diff)
downloadop-kernel-dev-d28981727dccd0e1e867deceaa709bc89f1a5ebc.zip
op-kernel-dev-d28981727dccd0e1e867deceaa709bc89f1a5ebc.tar.gz
mmc: sdhci: Export sdhci_dumpregs
Export sdhci_dumpregs so that it can be called by drivers. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Tested-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Diffstat (limited to 'drivers/mmc/host/sdhci.c')
-rw-r--r--drivers/mmc/host/sdhci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index 2032bea..7cb25dc 100644
--- a/drivers/mmc/host/sdhci.c
+++ b/drivers/mmc/host/sdhci.c
@@ -52,7 +52,7 @@ static void sdhci_finish_data(struct sdhci_host *);
static void sdhci_enable_preset_value(struct sdhci_host *host, bool enable);
-static void sdhci_dumpregs(struct sdhci_host *host)
+void sdhci_dumpregs(struct sdhci_host *host)
{
SDHCI_DUMP("============ SDHCI REGISTER DUMP ===========\n");
@@ -113,6 +113,7 @@ static void sdhci_dumpregs(struct sdhci_host *host)
SDHCI_DUMP("============================================\n");
}
+EXPORT_SYMBOL_GPL(sdhci_dumpregs);
/*****************************************************************************\
* *
OpenPOWER on IntegriCloud