aboutsummaryrefslogtreecommitdiff
path: root/hw/audio/pl041.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/audio/pl041.c')
-rw-r--r--hw/audio/pl041.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/audio/pl041.c b/hw/audio/pl041.c
index 5393b520b7..8ba661a32c 100644
--- a/hw/audio/pl041.c
+++ b/hw/audio/pl041.c
@@ -632,7 +632,7 @@ static void pl041_device_class_init(ObjectClass *klass, void *data)
k->init = pl041_init;
set_bit(DEVICE_CATEGORY_SOUND, dc->categories);
- dc->no_user = 1;
+ dc->cannot_instantiate_with_device_add_yet = true; /* FIXME explain why */
dc->reset = pl041_device_reset;
dc->vmsd = &vmstate_pl041;
dc->props = pl041_device_properties;