diff options
Diffstat (limited to 'hw/omap_i2c.c')
-rw-r--r-- | hw/omap_i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/omap_i2c.c b/hw/omap_i2c.c index ca875f6..5ec422c 100644 --- a/hw/omap_i2c.c +++ b/hw/omap_i2c.c @@ -464,7 +464,7 @@ struct omap_i2c_s *omap2_i2c_init(struct omap_target_agent_s *ta, memory_region_init_io(&s->iomem, &omap_i2c_ops, s, "omap2.i2c", omap_l4_region_size(ta, 0)); - omap_l4_attach_region(ta, 0, &s->iomem); + omap_l4_attach(ta, 0, &s->iomem); return s; } |