From: Alexander Graf Date: Thu, 24 Jan 2013 18:11:26 +0000 (+0100) Subject: s390: Make typeinfo const X-Git-Tag: pull-nvme-20200902~6654^2~8 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=49973ebc039f644fce3e73ff8019efaa795bd83b;p=qemu-nvme.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 7cbbf99fde..86e84153ad 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",