From: Alexander Graf Date: Thu, 24 Jan 2013 18:11:26 +0000 (+0100) Subject: s390: Make typeinfo const X-Git-Tag: v1.4.0-rc0~72^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49973ebc039f644fce3e73ff8019efaa795bd83b;p=thirdparty%2Fqemu.git s390: Make typeinfo const All TypeInfo definitions should be const. Signed-off-by: Alexander Graf --- diff --git a/hw/s390x/ipl.c b/hw/s390x/ipl.c index 7cbbf99fde2..86e84153adf 100644 --- a/hw/s390x/ipl.c +++ b/hw/s390x/ipl.c @@ -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",