aboutsummaryrefslogtreecommitdiff
path: root/hw/input/adb.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/input/adb.c')
-rw-r--r--hw/input/adb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/input/adb.c b/hw/input/adb.c
index 478a90fae2..b1ac4a3852 100644
--- a/hw/input/adb.c
+++ b/hw/input/adb.c
@@ -128,7 +128,7 @@ static void adb_device_class_init(ObjectClass *oc, void *data)
DeviceClass *dc = DEVICE_CLASS(oc);
dc->realize = adb_device_realizefn;
- dc->props = adb_device_properties;
+ device_class_set_props(dc, adb_device_properties);
dc->bus_type = TYPE_ADB_BUS;
}