diff options
Diffstat (limited to 'hw/milkymist-hpdmc.c')
-rw-r--r-- | hw/milkymist-hpdmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/milkymist-hpdmc.c b/hw/milkymist-hpdmc.c index 17c840f..be575c9 100644 --- a/hw/milkymist-hpdmc.c +++ b/hw/milkymist-hpdmc.c @@ -129,7 +129,7 @@ static int milkymist_hpdmc_init(SysBusDevice *dev) memory_region_init_io(&s->regs_region, &hpdmc_mmio_ops, s, "milkymist-hpdmc", R_MAX * 4); - sysbus_init_mmio_region(dev, &s->regs_region); + sysbus_init_mmio(dev, &s->regs_region); return 0; } |