diff options
author | Avi Kivity <avi@redhat.com> | 2011-11-28 15:40:49 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-11-28 15:40:49 +0200 |
commit | f44336c594c7e7887ee43ece3b53ba68b827fd1d (patch) | |
tree | df8f14f40066fd4a46f12cd2e1cb8b0730ce3a5f /hw/omap2.c | |
parent | a6dbd3c83622fc0156e17c0d2fab54fe79afd07f (diff) |
omap_l4: rename omap_l4_attach_region() to omap_l4_attach()
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/omap2.c')
-rw-r--r-- | hw/omap2.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/hw/omap2.c b/hw/omap2.c index 676e5d58ee..91577ae128 100644 --- a/hw/omap2.c +++ b/hw/omap2.c @@ -605,7 +605,7 @@ static struct omap_eac_s *omap_eac_init(struct omap_target_agent_s *ta, memory_region_init_io(&s->iomem, &omap_eac_ops, s, "omap.eac", omap_l4_region_size(ta, 0)); - omap_l4_attach_region(ta, 0, &s->iomem); + omap_l4_attach(ta, 0, &s->iomem); return s; } @@ -793,7 +793,7 @@ static struct omap_sti_s *omap_sti_init(struct omap_target_agent_s *ta, memory_region_init_io(&s->iomem, &omap_sti_ops, s, "omap.sti", omap_l4_region_size(ta, 0)); - omap_l4_attach_region(ta, 0, &s->iomem); + omap_l4_attach(ta, 0, &s->iomem); memory_region_init_io(&s->iomem_fifo, &omap_sti_fifo_ops, s, "omap.sti.fifo", 0x10000); @@ -1813,8 +1813,8 @@ static struct omap_prcm_s *omap_prcm_init(struct omap_target_agent_s *ta, omap_l4_region_size(ta, 0)); memory_region_init_io(&s->iomem1, &omap_prcm_ops, s, "omap.pcrm1", omap_l4_region_size(ta, 1)); - omap_l4_attach_region(ta, 0, &s->iomem0); - omap_l4_attach_region(ta, 1, &s->iomem1); + omap_l4_attach(ta, 0, &s->iomem0); + omap_l4_attach(ta, 1, &s->iomem1); return s; } @@ -2187,7 +2187,7 @@ static struct omap_sysctl_s *omap_sysctl_init(struct omap_target_agent_s *ta, memory_region_init_io(&s->iomem, &omap_sysctl_ops, s, "omap.sysctl", omap_l4_region_size(ta, 0)); - omap_l4_attach_region(ta, 0, &s->iomem); + omap_l4_attach(ta, 0, &s->iomem); return s; } |