From 03dbfc78cfc416b57f246520f14a4566b7cc888e Mon Sep 17 00:00:00 2001 From: Subhash Jadavani Date: Wed, 3 Dec 2014 11:12:14 +0200 Subject: 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 [merez@codeaurora.org: fix trivial conflicts] Signed-off-by: Maya Erez --- include/linux/mmc/host.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux') 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 *); -- cgit v1.2.3