aboutsummaryrefslogtreecommitdiff
path: root/hw/xilinx_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xilinx_spi.c')
-rw-r--r--hw/xilinx_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xilinx_spi.c b/hw/xilinx_spi.c
index 77f9178008..be581c2ac5 100644
--- a/hw/xilinx_spi.c
+++ b/hw/xilinx_spi.c
@@ -370,7 +370,7 @@ static void xilinx_spi_class_init(ObjectClass *klass, void *data)
dc->vmsd = &vmstate_xilinx_spi;
}
-static TypeInfo xilinx_spi_info = {
+static const TypeInfo xilinx_spi_info = {
.name = "xlnx.xps-spi",
.parent = TYPE_SYS_BUS_DEVICE,
.instance_size = sizeof(XilinxSPI),