summaryrefslogtreecommitdiff
path: root/include/sdhci.h
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2016-12-30 15:30:12 +0900
committerJaehoon Chung <jh80.chung@samsung.com>2017-01-11 18:14:47 +0900
commit309bf02cde07b36f61d82576db06cac7d2293580 (patch)
treedfd22e1d92d25d112a61c4c1af8faeaf9b7ae97f /include/sdhci.h
parentecd7b246f69640dfe8e28a5c78f245b8a43a4435 (diff)
downloadu-boot-309bf02cde07b36f61d82576db06cac7d2293580.tar.gz
mmc: sdhci: add the get_cd callback function in sdhci_ops
Some SoCs can have their own card dect scheme. Then they may use this get_cd callback function after implementing init in their drivers. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'include/sdhci.h')
-rw-r--r--include/sdhci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sdhci.h b/include/sdhci.h
index 144570f2be..0c0f48f493 100644
--- a/include/sdhci.h
+++ b/include/sdhci.h
@@ -235,6 +235,7 @@ struct sdhci_ops {
void (*write_w)(struct sdhci_host *host, u16 val, int reg);
void (*write_b)(struct sdhci_host *host, u8 val, int reg);
#endif
+ int (*get_cd)(struct sdhci_host *host);
};
struct sdhci_host {