mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
FROMGIT: mmc: sdhci: Stop exporting sdhci_send_command()
sdhci_send_command() has not been used outside of sdhci.c for many years. Stop exporting it. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Tested-by: Baolin Wang <baolin.wang7@gmail.com> Link: https://lore.kernel.org/r/20200412090349.1607-3-adrian.hunter@intel.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Bug: 156552982 (cherry picked from commit e016a3468f79d6c0b36a71f6354ac526c5da4bda https://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git next) Change-Id: If42837278f9dc019cfb5140f28e8d51de648c78d Signed-off-by: Chunyan Zhang <zhang.lyra@gmail.com>
This commit is contained in:
parent
f7960e1a1e
commit
95ed3158f6
2 changed files with 3 additions and 3 deletions
|
|
@ -50,6 +50,8 @@ static void sdhci_finish_data(struct sdhci_host *);
|
|||
|
||||
static void sdhci_enable_preset_value(struct sdhci_host *host, bool enable);
|
||||
|
||||
static void sdhci_send_command(struct sdhci_host *host, struct mmc_command *cmd);
|
||||
|
||||
void sdhci_dumpregs(struct sdhci_host *host)
|
||||
{
|
||||
SDHCI_DUMP("============ SDHCI REGISTER DUMP ===========\n");
|
||||
|
|
@ -1353,7 +1355,7 @@ static void sdhci_finish_data(struct sdhci_host *host)
|
|||
}
|
||||
}
|
||||
|
||||
void sdhci_send_command(struct sdhci_host *host, struct mmc_command *cmd)
|
||||
static void sdhci_send_command(struct sdhci_host *host, struct mmc_command *cmd)
|
||||
{
|
||||
int flags;
|
||||
u32 mask;
|
||||
|
|
@ -1443,7 +1445,6 @@ void sdhci_send_command(struct sdhci_host *host, struct mmc_command *cmd)
|
|||
|
||||
sdhci_writew(host, SDHCI_MAKE_CMD(cmd->opcode, flags), SDHCI_COMMAND);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(sdhci_send_command);
|
||||
|
||||
static void sdhci_read_rsp_136(struct sdhci_host *host, struct mmc_command *cmd)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -751,7 +751,6 @@ void sdhci_cleanup_host(struct sdhci_host *host);
|
|||
int __sdhci_add_host(struct sdhci_host *host);
|
||||
int sdhci_add_host(struct sdhci_host *host);
|
||||
void sdhci_remove_host(struct sdhci_host *host, int dead);
|
||||
void sdhci_send_command(struct sdhci_host *host, struct mmc_command *cmd);
|
||||
|
||||
static inline void sdhci_read_caps(struct sdhci_host *host)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue