aboutsummaryrefslogtreecommitdiff
path: root/hw/omap_gptimer.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/omap_gptimer.c')
-rw-r--r--hw/omap_gptimer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/omap_gptimer.c b/hw/omap_gptimer.c
index 414b98aa36..7a145198a4 100644
--- a/hw/omap_gptimer.c
+++ b/hw/omap_gptimer.c
@@ -482,7 +482,7 @@ struct omap_gp_timer_s *omap_gp_timer_init(struct omap_target_agent_s *ta,
memory_region_init_io(&s->iomem, &omap_gp_timer_ops, s, "omap.gptimer",
omap_l4_region_size(ta, 0));
- omap_l4_attach_region(ta, 0, &s->iomem);
+ omap_l4_attach(ta, 0, &s->iomem);
return s;
}