From 748781390916caa6a8258ed89524a82e508efadc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Canet?= Date: Fri, 25 Nov 2011 15:21:37 +0100 Subject: omap_i2c: convert to memory API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: BenoƮt Canet Signed-off-by: Avi Kivity --- hw/omap.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'hw/omap.h') diff --git a/hw/omap.h b/hw/omap.h index b7f339c2ef..0724ffedb5 100644 --- a/hw/omap.h +++ b/hw/omap.h @@ -771,8 +771,11 @@ void omap_mmc_enable(struct omap_mmc_s *s, int enable); /* omap_i2c.c */ struct omap_i2c_s; -struct omap_i2c_s *omap_i2c_init(target_phys_addr_t base, - qemu_irq irq, qemu_irq *dma, omap_clk clk); +struct omap_i2c_s *omap_i2c_init(MemoryRegion *sysmem, + target_phys_addr_t base, + qemu_irq irq, + qemu_irq *dma, + omap_clk clk); struct omap_i2c_s *omap2_i2c_init(struct omap_target_agent_s *ta, qemu_irq irq, qemu_irq *dma, omap_clk fclk, omap_clk iclk); void omap_i2c_reset(struct omap_i2c_s *s); -- cgit v1.2.3