aboutsummaryrefslogtreecommitdiff
path: root/hw/pci-host/sabre.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pci-host/sabre.c')
-rw-r--r--hw/pci-host/sabre.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci-host/sabre.c b/hw/pci-host/sabre.c
index d0851b48b0..1707feb951 100644
--- a/hw/pci-host/sabre.c
+++ b/hw/pci-host/sabre.c
@@ -504,7 +504,7 @@ static void sabre_class_init(ObjectClass *klass, void *data)
SysBusDeviceClass *sbc = SYS_BUS_DEVICE_CLASS(klass);
dc->realize = sabre_realize;
- dc->reset = sabre_reset;
+ device_class_set_legacy_reset(dc, sabre_reset);
device_class_set_props(dc, sabre_properties);
set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories);
dc->fw_name = "pci";