diff options
Diffstat (limited to 'hw/grlib_apbuart.c')
-rw-r--r-- | hw/grlib_apbuart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/grlib_apbuart.c b/hw/grlib_apbuart.c index 12dbca0f07..62bdb03a9c 100644 --- a/hw/grlib_apbuart.c +++ b/hw/grlib_apbuart.c @@ -164,7 +164,7 @@ static int grlib_apbuart_init(SysBusDevice *dev) memory_region_init_io(&uart->iomem, &grlib_apbuart_ops, uart, "uart", UART_REG_SIZE); - sysbus_init_mmio_region(dev, &uart->iomem); + sysbus_init_mmio(dev, &uart->iomem); return 0; } |