diff options
author | Faiz Abbas <faiz_abbas@ti.com> | 2019-06-11 00:43:37 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-07-17 11:12:08 -0400 |
commit | a8185c50d384c0a4eb8ff5a542cc96cd8c4bb57e (patch) | |
tree | fb6d0e84f4c94158decf2dd4a8bd831dcd27d268 /include/sdhci.h | |
parent | bbcfaad59f7b1a799a45714dd4ef2144ec78120e (diff) | |
download | u-boot-a8185c50d384c0a4eb8ff5a542cc96cd8c4bb57e.tar.gz |
mmc: sdhci: Make set_ios_post() return int
Make set_ios_post() return int to faciliate error handling in
platform drivers.
Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Diffstat (limited to 'include/sdhci.h')
-rw-r--r-- | include/sdhci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sdhci.h b/include/sdhci.h index 820cd16e92..3dcbc14965 100644 --- a/include/sdhci.h +++ b/include/sdhci.h @@ -247,7 +247,7 @@ struct sdhci_ops { #endif int (*get_cd)(struct sdhci_host *host); void (*set_control_reg)(struct sdhci_host *host); - void (*set_ios_post)(struct sdhci_host *host); + int (*set_ios_post)(struct sdhci_host *host); void (*set_clock)(struct sdhci_host *host, u32 div); int (*platform_execute_tuning)(struct mmc *host, u8 opcode); void (*set_delay)(struct sdhci_host *host); |