aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@stericsson.com>2011-03-03 12:45:44 +0100
committerHenrik Öhman <henrik.ohman@stericsson.com>2011-03-15 13:58:52 +0100
commit92be8b9ef8507ad1a743e9b0fda646ee8c4ca5fe (patch)
treea5710caaf9bce7f27971c78155675b72c4efb876
parent7e81f04583c8526a85ce4df6b1d25ae8a627f4a2 (diff)
MMC: 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. Change-Id: Ia89b631c91d0e480b7fea0884d514afafe236a44 Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17525 Reviewed-by: QATOOLS Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Sebastian RASMUSSEN <sebastian.rasmussen@stericsson.com>
-rw-r--r--drivers/mmc/core/core.c3
-rw-r--r--include/linux/mmc/core.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
index dff2d05febc..d5ca88d80f8 100644
--- a/drivers/mmc/core/core.c
+++ b/drivers/mmc/core/core.c
@@ -522,7 +522,7 @@ 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)
+void mmc_do_release_host(struct mmc_host *host)
{
unsigned long flags;
@@ -537,6 +537,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)
{
diff --git a/include/linux/mmc/core.h b/include/linux/mmc/core.h
index a08d9934880..f9e684b73ff 100644
--- a/include/linux/mmc/core.h
+++ b/include/linux/mmc/core.h
@@ -141,6 +141,7 @@ extern unsigned int mmc_align_data_size(struct mmc_card *, unsigned int);
extern int __mmc_claim_host(struct mmc_host *host, atomic_t *abort);
extern void mmc_release_host(struct mmc_host *host);
+extern void mmc_do_release_host(struct mmc_host *host);
extern int mmc_try_claim_host(struct mmc_host *host);
/**