Commit d462c1b4 authored by Aapo Vienamo's avatar Aapo Vienamo Committed by Ulf Hansson

mmc: sdhci: Export sdhci_request()

Allow SDHCI drivers to hook code before and after sdhci_request() by
making it externally visible.
Signed-off-by: default avatarAapo Vienamo <avienamo@nvidia.com>
Acked-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 96ccb858
...@@ -1630,7 +1630,7 @@ EXPORT_SYMBOL_GPL(sdhci_set_power); ...@@ -1630,7 +1630,7 @@ EXPORT_SYMBOL_GPL(sdhci_set_power);
* * * *
\*****************************************************************************/ \*****************************************************************************/
static void sdhci_request(struct mmc_host *mmc, struct mmc_request *mrq) void sdhci_request(struct mmc_host *mmc, struct mmc_request *mrq)
{ {
struct sdhci_host *host; struct sdhci_host *host;
int present; int present;
...@@ -1669,6 +1669,7 @@ static void sdhci_request(struct mmc_host *mmc, struct mmc_request *mrq) ...@@ -1669,6 +1669,7 @@ static void sdhci_request(struct mmc_host *mmc, struct mmc_request *mrq)
mmiowb(); mmiowb();
spin_unlock_irqrestore(&host->lock, flags); spin_unlock_irqrestore(&host->lock, flags);
} }
EXPORT_SYMBOL_GPL(sdhci_request);
void sdhci_set_bus_width(struct sdhci_host *host, int width) void sdhci_set_bus_width(struct sdhci_host *host, int width)
{ {
......
...@@ -726,6 +726,7 @@ void sdhci_set_power(struct sdhci_host *host, unsigned char mode, ...@@ -726,6 +726,7 @@ void sdhci_set_power(struct sdhci_host *host, unsigned char mode,
unsigned short vdd); unsigned short vdd);
void sdhci_set_power_noreg(struct sdhci_host *host, unsigned char mode, void sdhci_set_power_noreg(struct sdhci_host *host, unsigned char mode,
unsigned short vdd); unsigned short vdd);
void sdhci_request(struct mmc_host *mmc, struct mmc_request *mrq);
void sdhci_set_bus_width(struct sdhci_host *host, int width); void sdhci_set_bus_width(struct sdhci_host *host, int width);
void sdhci_reset(struct sdhci_host *host, u8 mask); void sdhci_reset(struct sdhci_host *host, u8 mask);
void sdhci_set_uhs_signaling(struct sdhci_host *host, unsigned timing); void sdhci_set_uhs_signaling(struct sdhci_host *host, unsigned timing);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment