summary refs log tree commit diff stats
path: root/hw/omap_uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/omap_uart.c')
-rw-r--r--hw/omap_uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/omap_uart.c b/hw/omap_uart.c
index 64fc9f5c92..167d5c4e50 100644
--- a/hw/omap_uart.c
+++ b/hw/omap_uart.c
@@ -165,7 +165,7 @@ struct omap_uart_s *omap2_uart_init(MemoryRegion *sysmem,
                 qemu_irq txdma, qemu_irq rxdma,
                 const char *label, CharDriverState *chr)
 {
-    target_phys_addr_t base = omap_l4_attach_region(ta, 0, NULL);
+    target_phys_addr_t base = omap_l4_attach(ta, 0, NULL);
     struct omap_uart_s *s = omap_uart_init(base, irq,
                     fclk, iclk, txdma, rxdma, label, chr);