projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5cf2bb
)
s390: Make typeinfo const
author
Alexander Graf
<agraf@suse.de>
Thu, 24 Jan 2013 18:11:26 +0000
(19:11 +0100)
committer
Alexander Graf
<agraf@suse.de>
Tue, 29 Jan 2013 20:50:04 +0000
(21:50 +0100)
All TypeInfo definitions should be const.
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/s390x/ipl.c
patch
|
blob
|
history
diff --git
a/hw/s390x/ipl.c
b/hw/s390x/ipl.c
index 7cbbf99fde228fba2c9fe305e62ae0c0189f5929..86e84153adf789a286dc7b3e4a9b9d5d177a664a 100644
(file)
--- 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",