serial: refactor device creation
commite22cf21efdc5f25fb9ba136cba7acb71aa379ea7
authorBlue Swirl <blauwirbel@gmail.com>
Sat, 5 Feb 2011 19:37:40 +0000 (5 19:37 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 20 Feb 2011 09:32:50 +0000 (20 09:32 +0000)
tree779320539ee9d91fbaf98acfce00a6aace73232f
parentcd1b8a8b0d5951fb3a575a13bfd3aa3f7018ef1f
serial: refactor device creation

Turn serial_init into an inline function.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/pc.h
hw/serial.c