From e99f7c88570f517202f6d6a9285f4878b4038421 Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Tue, 9 Aug 2011 10:46:15 -0500 Subject: [PATCH] fix event fallout in grlib_apbuart.c --- hw/grlib_apbuart.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/grlib_apbuart.c b/hw/grlib_apbuart.c index 2e0f3c79d9..a9c1f01803 100644 --- a/hw/grlib_apbuart.c +++ b/hw/grlib_apbuart.c @@ -97,9 +97,10 @@ static void grlib_apbuart_receive(UART *uart, const uint8_t *buf, int size) } } -static void grlib_apbuart_event(void *opaque, int event) +static int grlib_apbuart_event(void *opaque, int event, void *data) { trace_grlib_apbuart_event(event); + return 0; } static void grlib_apbuart_receive_handler(void *opaque) -- 2.11.4.GIT