Merge tag 'xilinx-for-v2023.01-rc3' of https://source.denx.de/u-boot/custodians/u...
[platform/kernel/u-boot.git] / drivers / core / read.c
index df298d5..3e5fea8 100644 (file)
@@ -298,7 +298,7 @@ int dev_read_next_prop(struct ofprop *prop)
 const void *dev_read_prop_by_prop(struct ofprop *prop,
                                  const char **propname, int *lenp)
 {
-       return ofnode_get_property_by_prop(prop, propname, lenp);
+       return ofprop_get_property(prop, propname, lenp);
 }
 
 int dev_read_alias_seq(const struct udevice *dev, int *devnump)