summaryrefslogtreecommitdiff
path: root/include/sdhci.h
diff options
context:
space:
mode:
authorFaiz Abbas <faiz_abbas@ti.com>2019-06-11 00:43:37 +0530
committerTom Rini <trini@konsulko.com>2019-07-17 11:12:08 -0400
commita8185c50d384c0a4eb8ff5a542cc96cd8c4bb57e (patch)
treefb6d0e84f4c94158decf2dd4a8bd831dcd27d268 /include/sdhci.h
parentbbcfaad59f7b1a799a45714dd4ef2144ec78120e (diff)
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.h2
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);