]> git.baikalelectronics.ru Git - kernel.git/commit
virtio: console: Separate out console init into a new function
authorAmit Shah <amit.shah@redhat.com>
Mon, 18 Jan 2010 13:45:10 +0000 (19:15 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Feb 2010 03:52:48 +0000 (14:22 +1030)
commite39298bf000232f3c2746e7790e9d511dcc36e67
tree2ee0ee37ad3289f57c082a3cba496898089ff1c2
parenta1e43f387766c7d95c97a7bef0cd790284467e57
virtio: console: Separate out console init into a new function

Console ports could be hot-added. Also, with the new multiport support,
a port is identified as a console port only if the host sends a control
message.

Move the console port init into a separate function so it can be invoked
from other places.

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