aboutsummaryrefslogtreecommitdiff
path: root/hw/hpet.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/hpet.c')
-rw-r--r--hw/hpet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/hpet.c b/hw/hpet.c
index 382b257f37..5312df7c3a 100644
--- a/hw/hpet.c
+++ b/hw/hpet.c
@@ -691,7 +691,7 @@ static int hpet_init(SysBusDevice *dev)
/* HPET Area */
memory_region_init_io(&s->iomem, &hpet_ram_ops, s, "hpet", 0x400);
- sysbus_init_mmio_region(dev, &s->iomem);
+ sysbus_init_mmio(dev, &s->iomem);
return 0;
}