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>
This commit is contained in:
parent
85ad90e2f8
commit
d28981727d
|
@ -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_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");
|
SDHCI_DUMP("============ SDHCI REGISTER DUMP ===========\n");
|
||||||
|
|
||||||
|
@ -113,6 +113,7 @@ static void sdhci_dumpregs(struct sdhci_host *host)
|
||||||
|
|
||||||
SDHCI_DUMP("============================================\n");
|
SDHCI_DUMP("============================================\n");
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(sdhci_dumpregs);
|
||||||
|
|
||||||
/*****************************************************************************\
|
/*****************************************************************************\
|
||||||
* *
|
* *
|
||||||
|
|
|
@ -698,4 +698,6 @@ extern int sdhci_runtime_suspend_host(struct sdhci_host *host);
|
||||||
extern int sdhci_runtime_resume_host(struct sdhci_host *host);
|
extern int sdhci_runtime_resume_host(struct sdhci_host *host);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void sdhci_dumpregs(struct sdhci_host *host);
|
||||||
|
|
||||||
#endif /* __SDHCI_HW_H */
|
#endif /* __SDHCI_HW_H */
|
||||||
|
|
Loading…
Reference in New Issue