summary refs log tree commit diff stats
path: root/hw/ide/sii3112.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ide/sii3112.c')
-rw-r--r--hw/ide/sii3112.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide/sii3112.c b/hw/ide/sii3112.c
index 46204f10d7..c918370220 100644
--- a/hw/ide/sii3112.c
+++ b/hw/ide/sii3112.c
@@ -288,7 +288,7 @@ static void sii3112_pci_realize(PCIDevice *dev, Error **errp)
 
         bmdma_init(&s->bus[i], &s->bmdma[i], s);
         s->bmdma[i].bus = &s->bus[i];
-        ide_register_restart_cb(&s->bus[i]);
+        ide_bus_register_restart_cb(&s->bus[i]);
     }
 }