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.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'hw/omap.h') diff --git a/hw/omap.h b/hw/omap.h index 8bd1810eb3..d12f4027a2 100644 --- a/hw/omap.h +++ b/hw/omap.h @@ -96,8 +96,6 @@ target_phys_addr_t omap_l4_attach(struct omap_target_agent_s *ta, int region, int iotype); target_phys_addr_t omap_l4_region_base(struct omap_target_agent_s *ta, int region); -int l4_register_io_memory(CPUReadMemoryFunc * const *mem_read, - CPUWriteMemoryFunc * const *mem_write, void *opaque); /* OMAP2 SDRAM controller */ struct omap_sdrc_s; -- cgit v1.2.3