]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/vmw_vsock/virtio_transport.c
virtio: wrap find_vqs
[karo-tx-linux.git] / net / vmw_vsock / virtio_transport.c
index 68675a151f22b8b63c02b25a67b833d9a6046d84..97e26e2955e157d05fb3f4f830f1f690b9dda0e7 100644 (file)
@@ -573,9 +573,9 @@ static int virtio_vsock_probe(struct virtio_device *vdev)
 
        vsock->vdev = vdev;
 
-       ret = vsock->vdev->config->find_vqs(vsock->vdev, VSOCK_VQ_MAX,
-                                           vsock->vqs, callbacks, names,
-                                           NULL);
+       ret = virtio_find_vqs(vsock->vdev, VSOCK_VQ_MAX,
+                             vsock->vqs, callbacks, names,
+                             NULL);
        if (ret < 0)
                goto out;