virtio: console: remove global var
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 18 Jan 2010 13:45:06 +0000 (19:15 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Feb 2010 03:52:42 +0000 (14:22 +1030)
commitd8a02bd58ab6da4495a2d1af74d980c217e9abcf
tree473e04cdf82bdb6b4b794fadfd96c1665066ce8f
parent38edf58d73c28b082ec808aecdeb0ef2b92af049
virtio: console: remove global var

Now we can use an allocation function to remove our global console variable.

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