diff --git a/[refs] b/[refs] index 9f5c647c2207..93bc471773cb 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1dff399616a79b8ef5d61ad68f2ef1e1f590b465 +refs/heads/master: f550804ab92e37a08d2622522a0f11252a2158ea diff --git a/trunk/drivers/char/virtio_console.c b/trunk/drivers/char/virtio_console.c index 791be4e91d15..bfc0abf825ed 100644 --- a/trunk/drivers/char/virtio_console.c +++ b/trunk/drivers/char/virtio_console.c @@ -204,6 +204,11 @@ static int __devinit virtcons_probe(struct virtio_device *dev) struct virtqueue *vqs[2]; int err; + if (vdev) { + dev_warn(&vdev->dev, + "Multiple virtio-console devices not supported yet\n"); + return -EEXIST; + } vdev = dev; /* This is the scratch page we use to receive console input */