cmd: bind: Fix driver binding on a device
[platform/kernel/u-boot.git] / drivers / serial / serial-uclass.c
index 8171b17..01387c1 100644 (file)
@@ -69,7 +69,7 @@ static int serial_check_stdout(const void *blob, struct udevice **devp)
         * anyway.
         */
        if (node > 0 && !lists_bind_fdt(gd->dm_root, offset_to_ofnode(node),
-                                       devp, false)) {
+                                       devp, NULL, false)) {
                if (!device_probe(*devp))
                        return 0;
        }