summary refs log tree commit diff stats
path: root/hw/cadence_gem.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/cadence_gem.c')
-rw-r--r--hw/cadence_gem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/cadence_gem.c b/hw/cadence_gem.c
index 40a239973c..2beee6268e 100644
--- a/hw/cadence_gem.c
+++ b/hw/cadence_gem.c
@@ -1218,7 +1218,7 @@ static void gem_class_init(ObjectClass *klass, void *data)
     dc->reset = gem_reset;
 }
 
-static TypeInfo gem_info = {
+static const TypeInfo gem_info = {
     .class_init = gem_class_init,
     .name  = "cadence_gem",
     .parent = TYPE_SYS_BUS_DEVICE,