mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
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>
This commit is contained in:
parent
ecd7b246f6
commit
309bf02cde
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue