]> Git Repo - J-u-boot.git/blobdiff - drivers/virtio/virtio-uclass.c
dm: Avoid accessing seq directly
[J-u-boot.git] / drivers / virtio / virtio-uclass.c
index 64a0746f269628534eb276539d8e5224781d9fa5..cf2cfaef2cf83cc77324739e6238c2edeb0e1ed9 100644 (file)
@@ -240,7 +240,7 @@ static int virtio_uclass_post_probe(struct udevice *udev)
        }
 
        snprintf(dev_name, sizeof(dev_name), "%s#%d",
-                virtio_drv_name[uc_priv->device], udev->seq);
+                virtio_drv_name[uc_priv->device], dev_seq(udev));
        str = strdup(dev_name);
        if (!str)
                return -ENOMEM;
This page took 0.025877 seconds and 4 git commands to generate.