virtio: console: encapsulate buffer information in a struct
authorAmit Shah <amit.shah@redhat.com>
Mon, 18 Jan 2010 13:45:01 +0000 (19:15 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Feb 2010 03:52:36 +0000 (14:22 +1030)
commitfdb9a054554e1e435e927c9a47a999f026abd408
tree4ef632d26bf6068de7ab14f99547fd94e0c939b6
parent21206ede8826fd9d2eb72e05b429f3ccb1bdaff5
virtio: console: encapsulate buffer information in a struct

Collect port buffer, used_len, offset fields into a single structure.

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