projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mmc: sdhci: add the get_cd callback function in sdhci_ops
[oweals/u-boot.git]
/
include
/
sdhci.h
diff --git
a/include/sdhci.h
b/include/sdhci.h
index 144570f2be9662d43015f1a817adaa7ac6b97c79..0c0f48f493dbedf494f577d619d49fae133a4a7d 100644
(file)
--- 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 {