summaryrefslogtreecommitdiff
path: root/drivers/net/mvneta.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-18 20:08:57 -0600
committerSimon Glass <sjg@chromium.org>2017-06-01 07:03:06 -0600
commit911f3aef357ca02ac0d06fdce6a7a3081594f272 (patch)
tree02a77f43e3a9437c56d9d0c4b81dcedace5afc72 /drivers/net/mvneta.c
parent3af86a4e23bba49b573aabeb83bb41c199686ef6 (diff)
downloadu-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/net/mvneta.c')
-rw-r--r--drivers/net/mvneta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mvneta.c b/drivers/net/mvneta.c
index af07b281e8..50577d7f07 100644
--- a/drivers/net/mvneta.c
+++ b/drivers/net/mvneta.c
@@ -1695,7 +1695,7 @@ static int mvneta_probe(struct udevice *dev)
pp->base = (void __iomem *)pdata->iobase;
/* Configure MBUS address windows */
- if (of_device_is_compatible(dev, "marvell,armada-3700-neta"))
+ if (device_is_compatible(dev, "marvell,armada-3700-neta"))
mvneta_bypass_mbus_windows(pp);
else
mvneta_conf_mbus_windows(pp);