diff options
Diffstat (limited to 'hw/ide/sii3112.c')
| -rw-r--r-- | hw/ide/sii3112.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide/sii3112.c b/hw/ide/sii3112.c index af17384ff2..ce8a1e4cba 100644 --- a/hw/ide/sii3112.c +++ b/hw/ide/sii3112.c @@ -300,7 +300,7 @@ static void sii3112_pci_class_init(ObjectClass *klass, void *data) pd->class_id = PCI_CLASS_STORAGE_RAID; pd->revision = 1; pd->realize = sii3112_pci_realize; - dc->reset = sii3112_reset; + device_class_set_legacy_reset(dc, sii3112_reset); dc->desc = "SiI3112A SATA controller"; set_bit(DEVICE_CATEGORY_STORAGE, dc->categories); } |