]> Git Repo - qemu.git/blobdiff - hw/usb/hcd-uhci.c
qdev: set properties with device_class_set_props()
[qemu.git] / hw / usb / hcd-uhci.c
index 23507ad3b5204a919fe9f8411b6e5cef113e552d..37f7beb3fa2207eb5dae4ff1d76a0c493cf9d01f 100644 (file)
@@ -1349,9 +1349,9 @@ static void uhci_data_class_init(ObjectClass *klass, void *data)
     if (!info->unplug) {
         /* uhci controllers in companion setups can't be hotplugged */
         dc->hotpluggable = false;
-        dc->props = uhci_properties_companion;
+        device_class_set_props(dc, uhci_properties_companion);
     } else {
-        dc->props = uhci_properties_standalone;
+        device_class_set_props(dc, uhci_properties_standalone);
     }
     u->info = *info;
 }
This page took 0.021429 seconds and 4 git commands to generate.