aboutsummaryrefslogtreecommitdiff
path: root/hw/cadence_uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/cadence_uart.c')
-rw-r--r--hw/cadence_uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/cadence_uart.c b/hw/cadence_uart.c
index 7dd2fe54ed..cf2f53c81c 100644
--- a/hw/cadence_uart.c
+++ b/hw/cadence_uart.c
@@ -501,7 +501,7 @@ static void cadence_uart_class_init(ObjectClass *klass, void *data)
dc->vmsd = &vmstate_cadence_uart;
}
-static TypeInfo cadence_uart_info = {
+static const TypeInfo cadence_uart_info = {
.name = "cadence_uart",
.parent = TYPE_SYS_BUS_DEVICE,
.instance_size = sizeof(UartState),