aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2013-01-24 19:11:26 +0100
committerAlexander Graf <agraf@suse.de>2013-01-29 21:50:04 +0100
commit49973ebc039f644fce3e73ff8019efaa795bd83b (patch)
treed36cf825d0bbf66d386b7107ec59f3fcd9d49b94
parenta5cf2bb4e3827732b1b6740bddd022eb19988e0a (diff)
s390: Make typeinfo const
All TypeInfo definitions should be const. Signed-off-by: Alexander Graf <agraf@suse.de>
-rw-r--r--hw/s390x/ipl.c2
1 files changed, 1 insertions, 1 deletions
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",