projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecd7b24
)
mmc: sdhci: add the get_cd callback function in sdhci_ops
author
Jaehoon Chung
<jh80.chung@samsung.com>
Fri, 30 Dec 2016 06:30:12 +0000
(15:30 +0900)
committer
Jaehoon Chung
<jh80.chung@samsung.com>
Wed, 11 Jan 2017 09:14:47 +0000
(18:14 +0900)
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>
include/sdhci.h
patch
|
blob
|
history
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 {