summaryrefslogtreecommitdiff
path: root/include/linux/mmc
diff options
context:
space:
mode:
authorDov Levenglick <dovl@codeaurora.org>2015-07-20 16:50:03 +0300
committerSubhash Jadavani <subhashj@codeaurora.org>2016-05-31 15:27:03 -0700
commit348a140b51c072d00ca66d56e8d20e5fcab758ad (patch)
treed722b1aa2812dfb597fca86c7239b95c40ac8350 /include/linux/mmc
parent9ee678d1ddb6864c140d0442a958f195c149d78a (diff)
mmc: host: add detect vops chain
Add call from sdio to host_ops to sdhci_ops in order to indicate when a sdio card is detected. This will be used by hosts that require special handling for card detection. Change-Id: I65ec6ee464d658cd938d9254a0a748e6137f9223 Signed-off-by: Dov Levenglick <dovl@codeaurora.org> [subhashj@codeaurora.org: fixed trivial merge conflicts] Signed-off-by: Subhash Jadavani <subhashj@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 7f624c5338b5..9bf53de32a07 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -179,6 +179,7 @@ struct mmc_host_ops {
int (*notify_load)(struct mmc_host *, enum mmc_load);
void (*notify_halt)(struct mmc_host *mmc, bool halt);
+ void (*detect)(struct mmc_host *host, bool detected);
};
struct mmc_card;