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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/omap_gptimer.c b/hw/omap_gptimer.c
index 704b000636..c1cbdf8dcf 100644
--- a/hw/omap_gptimer.c
+++ b/hw/omap_gptimer.c
@@ -476,8 +476,8 @@ struct omap_gp_timer_s *omap_gp_timer_init(struct omap_target_agent_s *ta,
omap_gp_timer_reset(s);
omap_gp_timer_clk_setup(s);
- iomemtype = l4_register_io_memory(omap_gp_timer_readfn,
- omap_gp_timer_writefn, s);
+ iomemtype = cpu_register_io_memory(omap_gp_timer_readfn,
+ omap_gp_timer_writefn, s, DEVICE_NATIVE_ENDIAN);
omap_l4_attach(ta, 0, iomemtype);
return s;