aboutsummaryrefslogtreecommitdiff
path: root/hw/omap.h
diff options
context:
space:
mode:
authorBenoît Canet <benoit.canet@gmail.com>2011-11-25 15:21:37 +0100
committerAvi Kivity <avi@redhat.com>2011-11-28 15:38:47 +0200
commit748781390916caa6a8258ed89524a82e508efadc (patch)
tree964d96491d857bde9bbb76c84be167e3a84bc172 /hw/omap.h
parent30af1ec7295b3fecab641320cf97208b0936571f (diff)
omap_i2c: convert to memory API
Signed-off-by: Benoît Canet <benoit.canet@gmail.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/omap.h')
-rw-r--r--hw/omap.h7
1 files changed, 5 insertions, 2 deletions
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);