]> git.baikalelectronics.ru Git - kernel.git/commit
virtio: console: We support only one device at a time
authorAmit Shah <amit.shah@redhat.com>
Mon, 18 Jan 2010 13:44:59 +0000 (19:14 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Feb 2010 03:52:33 +0000 (14:22 +1030)
commitf12bf85d681c476557c78f5c3d2616243cd828ac
tree4c4e08f1dbfac94c6368d2812bcd3f374773abec
parentc0e42300a6cc0724efb5c8af877d5bb39524906b
virtio: console: We support only one device at a time

We support only one virtio_console device at a time. If multiple are
found, error out if one is already initialized.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/char/virtio_console.c