diff options
author | Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com> | 2020-03-31 11:04:05 +0530 |
---|---|---|
committer | Peng Fan <peng.fan@nxp.com> | 2020-04-22 20:41:55 +0800 |
commit | 7a65b8b6bb9992e3d07ca9aa44ee3a941fd67d0d (patch) | |
tree | 5f53c1931cbfcc1cd3b9f58907dbe0262505deda /drivers/mmc/iproc_sdhci.c | |
parent | 2bb02b1a81d4168ebd254928d1f4720197e264c1 (diff) |
drivers: mmc: iproc_sdhci: fix compilation warning
set_ios_post return type changed from void to int, correcting
the same to fix compilation warning.
Signed-off-by: Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>
Signed-off-by: Bharat Kumar Reddy Gooty <bharat.gooty@broadcom.com>
Diffstat (limited to 'drivers/mmc/iproc_sdhci.c')
-rw-r--r-- | drivers/mmc/iproc_sdhci.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/mmc/iproc_sdhci.c b/drivers/mmc/iproc_sdhci.c index f65a1e543d..0f4d608869 100644 --- a/drivers/mmc/iproc_sdhci.c +++ b/drivers/mmc/iproc_sdhci.c @@ -136,7 +136,7 @@ static void sdhci_iproc_writeb(struct sdhci_host *host, u8 val, int reg) } #endif -static void sdhci_iproc_set_ios_post(struct sdhci_host *host) +static int sdhci_iproc_set_ios_post(struct sdhci_host *host) { u32 ctrl = sdhci_readw(host, SDHCI_HOST_CONTROL2); @@ -147,6 +147,8 @@ static void sdhci_iproc_set_ios_post(struct sdhci_host *host) ctrl |= UHS_DDR50_BUS_SPEED; sdhci_writew(host, ctrl, SDHCI_HOST_CONTROL2); + + return 0; } static struct sdhci_ops sdhci_platform_ops = { |