summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci.h
diff options
context:
space:
mode:
authorDong Aisheng <b29396@freescale.com>2013-09-13 19:11:31 +0800
committerChris Ball <cjb@laptop.org>2013-09-26 07:53:39 -0400
commitc0e55129b09f3b9fee271e5fe23332393ab4c2a9 (patch)
tree5875c4d7aa73d8d2deef45b0a167a0e5220af7e1 /drivers/mmc/host/sdhci.h
parent4525181245c0f4005788c17315aee4371662ddea (diff)
downloadlinux-c0e55129b09f3b9fee271e5fe23332393ab4c2a9.tar.bz2
mmc: sdhci: allow platform access of sdhci_send_command
It helps for platform code to use it send tuning commands. Signed-off-by: Dong Aisheng <b29396@freescale.com> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/sdhci.h')
-rw-r--r--drivers/mmc/host/sdhci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h
index 976c14b5aaf9..0a3ed01887db 100644
--- a/drivers/mmc/host/sdhci.h
+++ b/drivers/mmc/host/sdhci.h
@@ -394,6 +394,8 @@ static inline void *sdhci_priv(struct sdhci_host *host)
extern void sdhci_card_detect(struct sdhci_host *host);
extern int sdhci_add_host(struct sdhci_host *host);
extern void sdhci_remove_host(struct sdhci_host *host, int dead);
+extern void sdhci_send_command(struct sdhci_host *host,
+ struct mmc_command *cmd);
#ifdef CONFIG_PM
extern int sdhci_suspend_host(struct sdhci_host *host);