aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/bcm2835_powermgt.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/bcm2835_powermgt.c')
-rw-r--r--hw/misc/bcm2835_powermgt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/bcm2835_powermgt.c b/hw/misc/bcm2835_powermgt.c
index 25fa804..976f3d3 100644
--- a/hw/misc/bcm2835_powermgt.c
+++ b/hw/misc/bcm2835_powermgt.c
@@ -144,7 +144,7 @@ static void bcm2835_powermgt_class_init(ObjectClass *klass, void *data)
dc->vmsd = &vmstate_bcm2835_powermgt;
}
-static TypeInfo bcm2835_powermgt_info = {
+static const TypeInfo bcm2835_powermgt_info = {
.name = TYPE_BCM2835_POWERMGT,
.parent = TYPE_SYS_BUS_DEVICE,
.instance_size = sizeof(BCM2835PowerMgtState),