[11/19] s390: Make typeinfo const

Submitted by Alexander Graf on Jan. 29, 2013, 8:50 p.m.

Details

Message ID 1359492659-16362-12-git-send-email-agraf@suse.de
State New
Headers show

Commit Message

Alexander Graf Jan. 29, 2013, 8:50 p.m.
All TypeInfo definitions should be const.

Signed-off-by: Alexander Graf <agraf@suse.de>
---
 hw/s390x/ipl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch hide | download patch | download mbox

diff --git a/hw/s390x/ipl.c b/hw/s390x/ipl.c
index 7cbbf99..86e8415 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",