summaryrefslogtreecommitdiff
path: root/drivers/core
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-19 02:08:57 (GMT)
committerSimon Glass <sjg@chromium.org>2017-06-01 13:03:06 (GMT)
commit911f3aef357ca02ac0d06fdce6a7a3081594f272 (patch)
tree02a77f43e3a9437c56d9d0c4b81dcedace5afc72 /drivers/core
parent3af86a4e23bba49b573aabeb83bb41c199686ef6 (diff)
downloadu-boot-fsl-qoriq-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/core')
-rw-r--r--drivers/core/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/core/device.c b/drivers/core/device.c
index 363c183..f5e8541 100644
--- a/drivers/core/device.c
+++ b/drivers/core/device.c
@@ -701,7 +701,7 @@ int device_set_name(struct udevice *dev, const char *name)
return 0;
}
-bool of_device_is_compatible(struct udevice *dev, const char *compat)
+bool device_is_compatible(struct udevice *dev, const char *compat)
{
const void *fdt = gd->fdt_blob;