From a56e423c7c39af0fa1515d575fddfda032a02916 Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Wed, 23 Nov 2011 14:58:10 +0200 Subject: omap: eliminate l4_register_io_memory This is a trivial wrapper around cpu_register_io_memory(), adding no value. Inline it into all callers. Reviewed-by: Peter Maydell Signed-off-by: Avi Kivity --- hw/omap_mmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hw/omap_mmc.c') diff --git a/hw/omap_mmc.c b/hw/omap_mmc.c index a1afeb5c91..b42cf904c2 100644 --- a/hw/omap_mmc.c +++ b/hw/omap_mmc.c @@ -612,8 +612,8 @@ struct omap_mmc_s *omap2_mmc_init(struct omap_target_agent_s *ta, omap_mmc_reset(s); - iomemtype = l4_register_io_memory(omap_mmc_readfn, - omap_mmc_writefn, s); + iomemtype = cpu_register_io_memory(omap_mmc_readfn, + omap_mmc_writefn, s, DEVICE_NATIVE_ENDIAN); omap_l4_attach(ta, 0, iomemtype); /* Instantiate the storage */ -- cgit 1.4.1