summaryrefslogtreecommitdiff
path: root/include/sdhci.h
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2016-12-30 06:30:12 (GMT)
committerJaehoon Chung <jh80.chung@samsung.com>2017-01-11 09:14:47 (GMT)
commit309bf02cde07b36f61d82576db06cac7d2293580 (patch)
treedfd22e1d92d25d112a61c4c1af8faeaf9b7ae97f /include/sdhci.h
parentecd7b246f69640dfe8e28a5c78f245b8a43a4435 (diff)
downloadu-boot-309bf02cde07b36f61d82576db06cac7d2293580.tar.xz
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 144570f..0c0f48f 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 {