Skip to contentSkip to conversation

mmc: sdhci: Export sdhci_abort_tuning function symbol

PATCH Superseded Ben Chuang 1 participant 1 message Aug 30, 2019

Subsystems (2)

v7 of 9 Superseded Latest is v9 →

lore
Share & tools
lore

Ben Chuang

author
#0 lore raw

PATCH v7 4/5 mmc: sdhci: Export sdhci_abort_tuning function symbol

From: Ben Chuang <[email protected]>

Export sdhci_abort_tuning() function symbols which are used by other SD Host controller driver modules.

---
 drivers/mmc/host/sdhci.c | 3 ++-
 drivers/mmc/host/sdhci.h | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)
drivers/mmc/host/sdhci.c +2 -1
index 9106ebc7a422..0f2f110534db 100644
@@ -2328,7 +2328,7 @@ void sdhci_reset_tuning(struct sdhci_host *host)
 }
 EXPORT_SYMBOL_GPL(sdhci_reset_tuning);
 
-static void sdhci_abort_tuning(struct sdhci_host *host, u32 opcode)
+void sdhci_abort_tuning(struct sdhci_host *host, u32 opcode)
 {
 	sdhci_reset_tuning(host);
 
@@ -2339,6 +2339,7 @@ static void sdhci_abort_tuning(struct sdhci_host *host, u32 opcode)
 
 	mmc_abort_tuning(host->mmc, opcode);
 }
+EXPORT_SYMBOL_GPL(sdhci_abort_tuning);
 
 /*
  * We use sdhci_send_tuning() because mmc_send_tuning() is not a good fit. SDHCI
drivers/mmc/host/sdhci.h +1 -0
index 72601a4d2e95..437bab3af195 100644
@@ -797,5 +797,6 @@ void sdhci_start_tuning(struct sdhci_host *host);
 void sdhci_end_tuning(struct sdhci_host *host);
 void sdhci_reset_tuning(struct sdhci_host *host);
 void sdhci_send_tuning(struct sdhci_host *host, u32 opcode);
+void sdhci_abort_tuning(struct sdhci_host *host, u32 opcode);
 
 #endif /* __SDHCI_HW_H */
Signature · 1 line
2.22.1