From 465deaa823035c11a7d18ce64b1ae27c87e29121 Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Tue, 9 Aug 2011 09:15:58 -0500 Subject: [PATCH] strongarm ioctl rename fallout --- hw/strongarm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/strongarm.c b/hw/strongarm.c index 5e7dbad880..1cdaa19589 100644 --- a/hw/strongarm.c +++ b/hw/strongarm.c @@ -1060,7 +1060,7 @@ static void strongarm_uart_receive_handler(void *opaque) strongarm_uart_receive(s, buf, size); } -static void strongarm_uart_event(void *opaque, int event) +static int strongarm_uart_event(void *opaque, int event, void *data) { StrongARMUARTState *s = opaque; if (event == CHR_EVENT_BREAK) { @@ -1070,6 +1070,7 @@ static void strongarm_uart_event(void *opaque, int event) strongarm_uart_update_status(s); strongarm_uart_update_int_status(s); } + return 0; } static void strongarm_uart_tx(void *opaque) -- 2.11.4.GIT