]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/char/virtio_console.c
virtio: allow drivers to request IRQ affinity when creating VQs
[karo-tx-linux.git] / drivers / char / virtio_console.c
index 8b00e79c2683a4812126fb73c7134ea157554ef2..6266c0568e1d0a3e6526723a66490c932216fb56 100644 (file)
@@ -1862,7 +1862,7 @@ static void config_work_handler(struct work_struct *work)
 {
        struct ports_device *portdev;
 
-       portdev = container_of(work, struct ports_device, control_work);
+       portdev = container_of(work, struct ports_device, config_work);
        if (!use_multiport(portdev)) {
                struct virtio_device *vdev;
                struct port *port;
@@ -1939,7 +1939,7 @@ static int init_vqs(struct ports_device *portdev)
        /* Find the queues. */
        err = portdev->vdev->config->find_vqs(portdev->vdev, nr_queues, vqs,
                                              io_callbacks,
-                                             (const char **)io_names);
+                                             (const char **)io_names, NULL);
        if (err)
                goto free;