mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +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_w)(struct sdhci_host *host, u16 val, int reg);
|
||||||
void (*write_b)(struct sdhci_host *host, u8 val, int reg);
|
void (*write_b)(struct sdhci_host *host, u8 val, int reg);
|
||||||
#endif
|
#endif
|
||||||
|
int (*get_cd)(struct sdhci_host *host);
|
||||||
};
|
};
|
||||||
|
|
||||||
struct sdhci_host {
|
struct sdhci_host {
|
||||||
|
|
Loading…
Reference in a new issue