aboutsummaryrefslogtreecommitdiff
path: root/hw/input/pl050.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/input/pl050.c')
-rw-r--r--hw/input/pl050.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/input/pl050.c b/hw/input/pl050.c
index e32d86005a..d7796b73a1 100644
--- a/hw/input/pl050.c
+++ b/hw/input/pl050.c
@@ -216,6 +216,8 @@ static const TypeInfo pl050_type_info = {
.parent = TYPE_SYS_BUS_DEVICE,
.instance_init = pl050_init,
.instance_size = sizeof(PL050State),
+ .class_init = pl050_class_init,
+ .class_size = sizeof(PL050DeviceClass),
.abstract = true,
.class_init = pl050_class_init,
};