]> Git Repo - qemu.git/blobdiff - hw/z2.c
Make all static TypeInfos const
[qemu.git] / hw / z2.c
diff --git a/hw/z2.c b/hw/z2.c
index 09b03687d1172d4bc9ef8b327a4ae28c932eeafa..496e47df6c3852c07848a1793ed0dc6df7f8d186 100644 (file)
--- a/hw/z2.c
+++ b/hw/z2.c
@@ -185,7 +185,7 @@ static void zipit_lcd_class_init(ObjectClass *klass, void *data)
     dc->vmsd = &vmstate_zipit_lcd_state;
 }
 
-static TypeInfo zipit_lcd_info = {
+static const TypeInfo zipit_lcd_info = {
     .name          = "zipit-lcd",
     .parent        = TYPE_SSI_SLAVE,
     .instance_size = sizeof(ZipitLCD),
@@ -288,7 +288,7 @@ static void aer915_class_init(ObjectClass *klass, void *data)
     dc->vmsd = &vmstate_aer915_state;
 }
 
-static TypeInfo aer915_info = {
+static const TypeInfo aer915_info = {
     .name          = "aer915",
     .parent        = TYPE_I2C_SLAVE,
     .instance_size = sizeof(AER915State),
This page took 0.024173 seconds and 4 git commands to generate.