mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
mmc: core: export function mmc_do_release_host()
When using mmc_try_claim_host the corresponding release function is mmc_do_release_host, which then also must be exported. Reviewed-by: Jonas Aberg <[email protected]> Reviewed-by: Sebastian Rasmussen <[email protected]> Signed-off-by: Ulf Hansson <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Signed-off-by: Chris Ball <[email protected]>
This commit is contained in:
parent
0aab399548
commit
ab1efd2717
2 changed files with 10 additions and 1 deletions
|
|
@ -527,7 +527,14 @@ int mmc_try_claim_host(struct mmc_host *host)
|
|||
}
|
||||
EXPORT_SYMBOL(mmc_try_claim_host);
|
||||
|
||||
static void mmc_do_release_host(struct mmc_host *host)
|
||||
/**
|
||||
* mmc_do_release_host - release a claimed host
|
||||
* @host: mmc host to release
|
||||
*
|
||||
* If you successfully claimed a host, this function will
|
||||
* release it again.
|
||||
*/
|
||||
void mmc_do_release_host(struct mmc_host *host)
|
||||
{
|
||||
unsigned long flags;
|
||||
|
||||
|
|
@ -542,6 +549,7 @@ static void mmc_do_release_host(struct mmc_host *host)
|
|||
wake_up(&host->wq);
|
||||
}
|
||||
}
|
||||
EXPORT_SYMBOL(mmc_do_release_host);
|
||||
|
||||
void mmc_host_deeper_disable(struct work_struct *work)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue