]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - drivers/core/device.c
dm: core: Add a uclass pre_probe() method for devices
[karo-tx-uboot.git] / drivers / core / device.c
index 6bd4b26623d3716930cde9726d3300db374d25dc..748340598a5f1ba4dcb7cfc4c5e8ffdc8c3c07c6 100644 (file)
@@ -227,7 +227,7 @@ int device_probe_child(struct udevice *dev, void *parent_priv)
        }
        dev->seq = seq;
 
-       ret = uclass_pre_probe_child(dev);
+       ret = uclass_pre_probe_device(dev);
        if (ret)
                goto fail;