diff options
author | Ulf Hansson <ulf.hansson@stericsson.com> | 2011-03-09 03:11:02 -0500 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-03-17 15:35:11 -0400 |
commit | ab1efd271704416c9e6e9cb4e5f58e7e4c4260e6 (patch) | |
tree | 6199d0a57592537c2e1f050754415225561c6b48 /drivers/mmc | |
parent | 0aab3995485b8a994bf29a995a008c9ea4a28054 (diff) |
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 <jonas.aberg@stericsson.com>
Reviewed-by: Sebastian Rasmussen <sebastian.rasmussen@stericsson.com>
Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/core/core.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index c47e13b79eee..4956da133be4 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c | |||
@@ -527,7 +527,14 @@ int mmc_try_claim_host(struct mmc_host *host) | |||
527 | } | 527 | } |
528 | EXPORT_SYMBOL(mmc_try_claim_host); | 528 | EXPORT_SYMBOL(mmc_try_claim_host); |
529 | 529 | ||
530 | static void mmc_do_release_host(struct mmc_host *host) | 530 | /** |
531 | * mmc_do_release_host - release a claimed host | ||
532 | * @host: mmc host to release | ||
533 | * | ||
534 | * If you successfully claimed a host, this function will | ||
535 | * release it again. | ||
536 | */ | ||
537 | void mmc_do_release_host(struct mmc_host *host) | ||
531 | { | 538 | { |
532 | unsigned long flags; | 539 | unsigned long flags; |
533 | 540 | ||
@@ -542,6 +549,7 @@ static void mmc_do_release_host(struct mmc_host *host) | |||
542 | wake_up(&host->wq); | 549 | wake_up(&host->wq); |
543 | } | 550 | } |
544 | } | 551 | } |
552 | EXPORT_SYMBOL(mmc_do_release_host); | ||
545 | 553 | ||
546 | void mmc_host_deeper_disable(struct work_struct *work) | 554 | void mmc_host_deeper_disable(struct work_struct *work) |
547 | { | 555 | { |