From mboxrd@z Thu Jan 1 00:00:00 1970 From: Faiz Abbas Date: Thu, 23 May 2019 12:37:47 -0500 Subject: [U-Boot] [PATCH v4 10/15] mmc: am654_sdhci: Use f_max in mmc_config In-Reply-To: <20190523173752.28680-1-faiz_abbas@ti.com> References: <20190523173752.28680-1-faiz_abbas@ti.com> Message-ID: <20190523173752.28680-11-faiz_abbas@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Use f_max provided in mmc_config and remove it from the platform specific data. Signed-off-by: Faiz Abbas --- drivers/mmc/am654_sdhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc/am654_sdhci.c index ede8a02b9b..2f8ecc383d 100644 --- a/drivers/mmc/am654_sdhci.c +++ b/drivers/mmc/am654_sdhci.c @@ -67,7 +67,6 @@ struct am654_sdhci_plat { struct mmc_config cfg; struct mmc mmc; - unsigned int f_max; struct regmap *base; bool non_removable; u32 otap_del_sel; @@ -199,6 +198,7 @@ static int am654_sdhci_probe(struct udevice *dev) struct am654_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); + struct mmc_config *cfg = &plat->cfg; struct power_domain sdhci_pwrdmn; struct clk clk; unsigned long clock; -- 2.17.1