summaryrefslogtreecommitdiff
path: root/hw/omap_uart.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-11-28 15:40:49 +0200
committerAvi Kivity <avi@redhat.com>2011-11-28 15:40:49 +0200
commitf44336c594c7e7887ee43ece3b53ba68b827fd1d (patch)
treedf8f14f40066fd4a46f12cd2e1cb8b0730ce3a5f /hw/omap_uart.c
parenta6dbd3c83622fc0156e17c0d2fab54fe79afd07f (diff)
omap_l4: rename omap_l4_attach_region() to omap_l4_attach()
Signed-off-by: Avi Kivity <avi@redhat.com>
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 64fc9f5c9..167d5c4e5 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);