summaryrefslogtreecommitdiff
path: root/hw/timer/i8254_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/timer/i8254_common.c')
-rw-r--r--hw/timer/i8254_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/timer/i8254_common.c b/hw/timer/i8254_common.c
index e8fb971488..dc2196c1ef 100644
--- a/hw/timer/i8254_common.c
+++ b/hw/timer/i8254_common.c
@@ -282,7 +282,7 @@ static void pit_common_class_init(ObjectClass *klass, void *data)
dc->realize = pit_common_realize;
dc->vmsd = &vmstate_pit_common;
- dc->no_user = 1;
+ dc->cannot_instantiate_with_device_add_yet = true; /* FIXME explain why */
}
static const TypeInfo pit_common_type = {