]> git.baikalelectronics.ru Git - kernel.git/commit
virtio: console: statically initialize virtio_cons
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 18 Jan 2010 13:44:56 +0000 (19:14 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Feb 2010 03:52:31 +0000 (14:22 +1030)
commit2350aa9a30680bc2b281be9451372fde8469ea55
treeeb25f42019387f1881defce1636fdf6e21b8d13c
parent7618c0d3c64e49641cf6e0342c56f1f401f1c74c
virtio: console: statically initialize virtio_cons

That way, we can make it const as is good kernel style.  We use a separate
indirection for the early console, rather than mugging ops.put_chars.

We rename it hv_ops, too.

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