summaryrefslogtreecommitdiff
path: root/hw/omap_spi.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_spi.c
parenta6dbd3c83622fc0156e17c0d2fab54fe79afd07f (diff)
downloadqemu-f44336c594c7e7887ee43ece3b53ba68b827fd1d.tar.gz
omap_l4: rename omap_l4_attach_region() to omap_l4_attach()
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/omap_spi.c')
-rw-r--r--hw/omap_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/omap_spi.c b/hw/omap_spi.c
index 4823bd0cdf..8f2b697d2d 100644
--- a/hw/omap_spi.c
+++ b/hw/omap_spi.c
@@ -332,7 +332,7 @@ struct omap_mcspi_s *omap_mcspi_init(struct omap_target_agent_s *ta, int chnum,
memory_region_init_io(&s->iomem, &omap_mcspi_ops, s, "omap.mcspi",
omap_l4_region_size(ta, 0));
- omap_l4_attach_region(ta, 0, &s->iomem);
+ omap_l4_attach(ta, 0, &s->iomem);
return s;
}