]> git.karo-electronics.de Git - mv-sheeva.git/commit
virtio: console: Move code around for future patches
authorAmit Shah <amit.shah@redhat.com>
Thu, 20 May 2010 04:15:48 +0000 (22:15 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 19 May 2010 12:45:48 +0000 (22:15 +0930)
commitc446f8fcc9fba3369bffb894b31756cf7a09f783
treea216f68a06b920222648e0bd0152ccd43e5e3cc0
parent99f905f88a5b8478755605e08ed4bce40034cc6c
virtio: console: Move code around for future patches

We're going to use add_port() from handle_control_message() in the next
patch.

Move the add_port() and fill_queue(), which depends on it, above
handle_control_message() to avoid forward declarations.

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