summaryrefslogtreecommitdiff
path: root/hw/omap_spi.c
diff options
context:
space:
mode:
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;
}