diff --git a/drivers/mmc/core/host.c b/drivers/mmc/core/host.c index 5b21aad3ea91..05ce52e3dff2 100644 --- a/drivers/mmc/core/host.c +++ b/drivers/mmc/core/host.c @@ -66,6 +66,7 @@ void mmc_retune_enable(struct mmc_host *host) mod_timer(&host->retune_timer, jiffies + host->retune_period * HZ); } +EXPORT_SYMBOL(mmc_retune_enable); void mmc_retune_disable(struct mmc_host *host) { @@ -74,6 +75,7 @@ void mmc_retune_disable(struct mmc_host *host) host->retune_now = 0; host->need_retune = 0; } +EXPORT_SYMBOL(mmc_retune_disable); void mmc_retune_timer_stop(struct mmc_host *host) { diff --git a/drivers/mmc/core/host.h b/drivers/mmc/core/host.h index bf38533406fd..3005e66be388 100644 --- a/drivers/mmc/core/host.h +++ b/drivers/mmc/core/host.h @@ -17,8 +17,6 @@ int mmc_register_host_class(void); void mmc_unregister_host_class(void); -void mmc_retune_enable(struct mmc_host *host); -void mmc_retune_disable(struct mmc_host *host); void mmc_retune_hold(struct mmc_host *host); void mmc_retune_release(struct mmc_host *host); int mmc_retune(struct mmc_host *host); diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index b72f88db3adf..35e0a013e466 100644 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h @@ -561,4 +561,7 @@ static inline void mmc_retune_recheck(struct mmc_host *host) host->retune_now = 1; } +void mmc_retune_enable(struct mmc_host *host); +void mmc_retune_disable(struct mmc_host *host); + #endif /* LINUX_MMC_HOST_H */