aboutsummaryrefslogtreecommitdiff
path: root/hw/char/ibex_uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/char/ibex_uart.c')
-rw-r--r--hw/char/ibex_uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/char/ibex_uart.c b/hw/char/ibex_uart.c
index 392375a..d6f0d18 100644
--- a/hw/char/ibex_uart.c
+++ b/hw/char/ibex_uart.c
@@ -542,7 +542,7 @@ static void ibex_uart_realize(DeviceState *dev, Error **errp)
s, NULL, true);
}
-static void ibex_uart_class_init(ObjectClass *klass, void *data)
+static void ibex_uart_class_init(ObjectClass *klass, const void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);