summaryrefslogtreecommitdiff
path: root/include/linux/mmc
diff options
context:
space:
mode:
authorSubhash Jadavani <subhashj@codeaurora.org>2014-12-03 11:12:14 +0200
committerSubhash Jadavani <subhashj@codeaurora.org>2016-05-31 15:20:48 -0700
commit03dbfc78cfc416b57f246520f14a4566b7cc888e (patch)
tree3a52ae71b6a4e8fb4046d23038417ee950ed5fc7 /include/linux/mmc
parenta4ec42db59ec72285b0b0823c6f96ca2400f9fdd (diff)
mmc: core: export mmc_host_may_gate_card function
MMC Host driver might want to use the mmc_host_may_gate_card() API to know whether the clock can be gated to the card or not hence export this function for usage outside its current scope. Change-Id: I9ec4173063e2505eca179161cdf8cda033a3fd4b Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org> [merez@codeaurora.org: fix trivial conflicts] Signed-off-by: Maya Erez <merez@codeaurora.org>
Diffstat (limited to 'include/linux/mmc')
-rw-r--r--include/linux/mmc/host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index 43796e98b324..4378be90366a 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -414,6 +414,7 @@ struct mmc_host {
};
struct mmc_host *mmc_alloc_host(int extra, struct device *);
+extern bool mmc_host_may_gate_card(struct mmc_card *);
int mmc_add_host(struct mmc_host *);
void mmc_remove_host(struct mmc_host *);
void mmc_free_host(struct mmc_host *);