aboutsummaryrefslogtreecommitdiff
path: root/hw/serial.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-03-31 18:58:38 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-03-31 18:58:38 +0000
commitb0a21b5334fb31042d555bfb66de864291c53140 (patch)
treed9a0fd630071798b7a87b32c03a1e61fe87e2a9d /hw/serial.c
parentdff38e7b40b398dd713643d57d89f280c6d09ff1 (diff)
use new timer API
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@689 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/serial.c')
-rw-r--r--hw/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/serial.c b/hw/serial.c
index 60c311e55d..e9bfd2a00b 100644
--- a/hw/serial.c
+++ b/hw/serial.c
@@ -288,7 +288,7 @@ SerialState *serial_init(int base, int irq, int fd)
register_ioport_read(base, 8, 1, serial_ioport_read, s);
if (fd != 0) {
- add_fd_read_handler(fd, serial_can_receive1, serial_receive1, s);
+ qemu_add_fd_read_handler(fd, serial_can_receive1, serial_receive1, s);
s->out_fd = fd;
} else {
serial_console = s;