aboutsummaryrefslogtreecommitdiff
path: root/hw/omap_i2c.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_i2c.c
parenta6dbd3c83622fc0156e17c0d2fab54fe79afd07f (diff)
downloadqemu-f44336c594c7e7887ee43ece3b53ba68b827fd1d.zip
qemu-f44336c594c7e7887ee43ece3b53ba68b827fd1d.tar.gz
qemu-f44336c594c7e7887ee43ece3b53ba68b827fd1d.tar.bz2
omap_l4: rename omap_l4_attach_region() to omap_l4_attach()
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/omap_i2c.c')
-rw-r--r--hw/omap_i2c.c2
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;
}