qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 11/19] s390: Make typeinfo const


From: Alexander Graf
Subject: [Qemu-devel] [PATCH 11/19] s390: Make typeinfo const
Date: Tue, 29 Jan 2013 21:50:51 +0100

All TypeInfo definitions should be const.

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

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",
-- 
1.6.0.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]