]> Git Repo - qemu.git/blobdiff - hw/isa/lpc_ich9.c
qdev: set properties with device_class_set_props()
[qemu.git] / hw / isa / lpc_ich9.c
index 17c292e306d2006493c36d85e6b6e88131ccfed1..f85b484eac631387eaa4cf609f47e437c415ac03 100644 (file)
@@ -35,7 +35,6 @@
 #include "hw/isa/isa.h"
 #include "hw/sysbus.h"
 #include "migration/vmstate.h"
-#include "hw/i386/pc.h"
 #include "hw/irq.h"
 #include "hw/isa/apm.h"
 #include "hw/i386/ioapic.h"
@@ -785,7 +784,7 @@ static void ich9_lpc_class_init(ObjectClass *klass, void *data)
     dc->reset = ich9_lpc_reset;
     k->realize = ich9_lpc_realize;
     dc->vmsd = &vmstate_ich9_lpc;
-    dc->props = ich9_lpc_properties;
+    device_class_set_props(dc, ich9_lpc_properties);
     k->config_write = ich9_lpc_config_write;
     dc->desc = "ICH9 LPC bridge";
     k->vendor_id = PCI_VENDOR_ID_INTEL;
This page took 0.023449 seconds and 4 git commands to generate.