diff options
author | Simon Glass <sjg@chromium.org> | 2017-05-19 02:08:57 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-06-01 13:03:06 (GMT) |
commit | 911f3aef357ca02ac0d06fdce6a7a3081594f272 (patch) | |
tree | 02a77f43e3a9437c56d9d0c4b81dcedace5afc72 /drivers/phy | |
parent | 3af86a4e23bba49b573aabeb83bb41c199686ef6 (diff) | |
download | u-boot-911f3aef357ca02ac0d06fdce6a7a3081594f272.tar.xz |
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/phy')
-rw-r--r-- | drivers/phy/marvell/comphy_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/phy/marvell/comphy_core.c b/drivers/phy/marvell/comphy_core.c index ccf024b..426db30 100644 --- a/drivers/phy/marvell/comphy_core.c +++ b/drivers/phy/marvell/comphy_core.c @@ -135,10 +135,10 @@ static int comphy_probe(struct udevice *dev) return -EINVAL; } - if (of_device_is_compatible(dev, "marvell,comphy-armada-3700")) + if (device_is_compatible(dev, "marvell,comphy-armada-3700")) chip_cfg->ptr_comphy_chip_init = comphy_a3700_init; - if (of_device_is_compatible(dev, "marvell,comphy-cp110")) + if (device_is_compatible(dev, "marvell,comphy-cp110")) chip_cfg->ptr_comphy_chip_init = comphy_cp110_init; /* |