diff options
author | Marcin Wojtas <mw@semihalf.com> | 2020-12-04 18:16:24 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2020-12-11 10:08:37 +0100 |
commit | f29bf660bf4137ab1c2c3915d89e16818d20d792 (patch) | |
tree | 9cec8e6f9ca641f32ea31960fec93324fcb76e70 /drivers/mmc/host/sdhci-xenon.h | |
parent | mmc: sdhci-xenon: use match data for controllers variants (diff) | |
download | linux-f29bf660bf4137ab1c2c3915d89e16818d20d792.tar.xz linux-f29bf660bf4137ab1c2c3915d89e16818d20d792.zip |
mmc: sdhci-xenon: switch to device_* API
In order to support both ACPI and DT, modify the driver
to use device_* routines for obtaining the properties
values.
Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Link: https://lore.kernel.org/r/20201204171626.10935-3-mw@semihalf.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-xenon.h')
-rw-r--r-- | drivers/mmc/host/sdhci-xenon.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/host/sdhci-xenon.h b/drivers/mmc/host/sdhci-xenon.h index 39e898605937..3e9c6c908a79 100644 --- a/drivers/mmc/host/sdhci-xenon.h +++ b/drivers/mmc/host/sdhci-xenon.h @@ -101,8 +101,8 @@ struct xenon_priv { }; int xenon_phy_adj(struct sdhci_host *host, struct mmc_ios *ios); -int xenon_phy_parse_dt(struct device_node *np, - struct sdhci_host *host); +int xenon_phy_parse_params(struct device *dev, + struct sdhci_host *host); void xenon_soc_pad_ctrl(struct sdhci_host *host, unsigned char signal_voltage); #endif |