mirror of
https://github.com/mii443/qemu.git
synced 2025-08-29 10:29:27 +00:00
memory: add owner argument to initialization functions
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
@ -180,7 +180,7 @@ static int lm32_timer_init(SysBusDevice *dev)
|
||||
s->ptimer = ptimer_init(s->bh);
|
||||
ptimer_set_freq(s->ptimer, s->freq_hz);
|
||||
|
||||
memory_region_init_io(&s->iomem, &timer_ops, s, "timer", R_MAX * 4);
|
||||
memory_region_init_io(&s->iomem, NULL, &timer_ops, s, "timer", R_MAX * 4);
|
||||
sysbus_init_mmio(dev, &s->iomem);
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user