diff options
author | Simon Glass <sjg@chromium.org> | 2017-05-18 20:08:57 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-06-01 07:03:06 -0600 |
commit | 911f3aef357ca02ac0d06fdce6a7a3081594f272 (patch) | |
tree | 02a77f43e3a9437c56d9d0c4b81dcedace5afc72 /drivers/mmc/xenon_sdhci.c | |
parent | 3af86a4e23bba49b573aabeb83bb41c199686ef6 (diff) | |
download | u-boot-911f3aef357ca02ac0d06fdce6a7a3081594f272.tar.gz |
dm: core: Rename of_device_is_compatible()
The of_ prefix conflicts with the livetree version of this function.
Rename it to avoid problems when we add livetree support.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/mmc/xenon_sdhci.c')
-rw-r--r-- | drivers/mmc/xenon_sdhci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/xenon_sdhci.c b/drivers/mmc/xenon_sdhci.c index 6cd176f9f8..2b7cb7f6b6 100644 --- a/drivers/mmc/xenon_sdhci.c +++ b/drivers/mmc/xenon_sdhci.c @@ -454,7 +454,7 @@ static int xenon_sdhci_ofdata_to_platdata(struct udevice *dev) host->name = dev->name; host->ioaddr = (void *)devfdt_get_addr(dev); - if (of_device_is_compatible(dev, "marvell,armada-3700-sdhci")) + if (device_is_compatible(dev, "marvell,armada-3700-sdhci")) priv->pad_ctrl_reg = (void *)devfdt_get_addr_index(dev, 1); name = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), "marvell,pad-type", |