aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/virtio_console.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c
index 791be4e91d15..bfc0abf825ed 100644
--- a/drivers/char/virtio_console.c
+++ b/drivers/char/virtio_console.c
@@ -204,6 +204,11 @@ static int __devinit virtcons_probe(struct virtio_device *dev)
204 struct virtqueue *vqs[2]; 204 struct virtqueue *vqs[2];
205 int err; 205 int err;
206 206
207 if (vdev) {
208 dev_warn(&vdev->dev,
209 "Multiple virtio-console devices not supported yet\n");
210 return -EEXIST;
211 }
207 vdev = dev; 212 vdev = dev;
208 213
209 /* This is the scratch page we use to receive console input */ 214 /* This is the scratch page we use to receive console input */