s390: Make typeinfo const
authorAlexander Graf <agraf@suse.de>
Thu, 24 Jan 2013 18:11:26 +0000 (19:11 +0100)
committerAlexander Graf <agraf@suse.de>
Tue, 29 Jan 2013 20:50:04 +0000 (21:50 +0100)
All TypeInfo definitions should be const.

Signed-off-by: Alexander Graf <agraf@suse.de>
hw/s390x/ipl.c

index 7cbbf99fde228fba2c9fe305e62ae0c0189f5929..86e84153adf789a286dc7b3e4a9b9d5d177a664a 100644 (file)
@@ -159,7 +159,7 @@ static void s390_ipl_class_init(ObjectClass *klass, void *data)
     dc->no_user = 1;
 }
 
-static TypeInfo s390_ipl_info = {
+static const TypeInfo s390_ipl_info = {
     .class_init = s390_ipl_class_init,
     .parent = TYPE_SYS_BUS_DEVICE,
     .name  = "s390-ipl",