Skip to content

Commit d289817

Browse files
ahunter6storulf
authored andcommitted
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>
1 parent 85ad90e commit d289817

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

drivers/mmc/host/sdhci.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ static void sdhci_finish_data(struct sdhci_host *);
5252

5353
static void sdhci_enable_preset_value(struct sdhci_host *host, bool enable);
5454

55-
static void sdhci_dumpregs(struct sdhci_host *host)
55+
void sdhci_dumpregs(struct sdhci_host *host)
5656
{
5757
SDHCI_DUMP("============ SDHCI REGISTER DUMP ===========\n");
5858

@@ -113,6 +113,7 @@ static void sdhci_dumpregs(struct sdhci_host *host)
113113

114114
SDHCI_DUMP("============================================\n");
115115
}
116+
EXPORT_SYMBOL_GPL(sdhci_dumpregs);
116117

117118
/*****************************************************************************\
118119
* *

drivers/mmc/host/sdhci.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -698,4 +698,6 @@ extern int sdhci_runtime_suspend_host(struct sdhci_host *host);
698698
extern int sdhci_runtime_resume_host(struct sdhci_host *host);
699699
#endif
700700

701+
void sdhci_dumpregs(struct sdhci_host *host);
702+
701703
#endif /* __SDHCI_HW_H */

0 commit comments

Comments
 (0)