From 911f3aef357ca02ac0d06fdce6a7a3081594f272 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 18 May 2017 20:08:57 -0600 Subject: 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 --- drivers/core/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/core') diff --git a/drivers/core/device.c b/drivers/core/device.c index 363c1833e9..f5e85413f7 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; -- cgit v1.2.3