diff options
author | Tom Rini | 2016-08-05 17:34:55 -0400 |
---|---|---|
committer | Tom Rini | 2016-08-05 20:55:31 -0400 |
commit | f2df3b6e9935c964cd33d2ca59079b3f176697d3 (patch) | |
tree | 9c69821d344345a2dd46f6aa574a7fc0e764bc9a /drivers/mmc/zynq_sdhci.c | |
parent | 7edb17670cdca0ee5de8b8eb61753ad6b7fc33e6 (diff) |
zynq_sdhci.c: Fix warning in arasan_sdhci_probe
We no longer need to set 'caps' as it's not passed to sdhci_setup_cfg
anymore.
Fixes: 14bed52d276a ("mmc: sdhci: remove the unnecessary arguments for
sdhci_setup_cfg")
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/mmc/zynq_sdhci.c')
-rw-r--r-- | drivers/mmc/zynq_sdhci.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mmc/zynq_sdhci.c b/drivers/mmc/zynq_sdhci.c index bf542192cec..3815b943292 100644 --- a/drivers/mmc/zynq_sdhci.c +++ b/drivers/mmc/zynq_sdhci.c @@ -27,7 +27,6 @@ static int arasan_sdhci_probe(struct udevice *dev) struct arasan_sdhci_plat *plat = dev_get_platdata(dev); struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); struct sdhci_host *host = dev_get_priv(dev); - u32 caps; int ret; host->quirks = SDHCI_QUIRK_WAIT_SEND_CMD | @@ -39,7 +38,6 @@ static int arasan_sdhci_probe(struct udevice *dev) host->version = sdhci_readw(host, SDHCI_HOST_VERSION); - caps = sdhci_readl(host, SDHCI_CAPABILITIES); ret = sdhci_setup_cfg(&plat->cfg, host, CONFIG_ZYNQ_SDHCI_MAX_FREQ, CONFIG_ZYNQ_SDHCI_MIN_FREQ); host->mmc = &plat->mmc; |