aboutsummaryrefslogtreecommitdiff
path: root/include/hw/audio/pcspk.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/audio/pcspk.h')
-rw-r--r--include/hw/audio/pcspk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/audio/pcspk.h b/include/hw/audio/pcspk.h
index 06cba00b83..9506179587 100644
--- a/include/hw/audio/pcspk.h
+++ b/include/hw/audio/pcspk.h
@@ -33,7 +33,7 @@
static inline void pcspk_init(ISADevice *isadev, ISABus *bus, ISADevice *pit)
{
- object_property_set_link(OBJECT(isadev), OBJECT(pit), "pit", NULL);
+ object_property_set_link(OBJECT(isadev), "pit", OBJECT(pit), NULL);
isa_realize_and_unref(isadev, bus, &error_fatal);
}