aboutsummaryrefslogtreecommitdiff
path: root/hw/omap1.c
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/omap1.c
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/omap1.c')
-rw-r--r--hw/omap1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/omap1.c b/hw/omap1.c
index f985f8d58c..53cde76116 100644
--- a/hw/omap1.c
+++ b/hw/omap1.c
@@ -3964,7 +3964,7 @@ struct omap_mpu_state_s *omap310_mpu_init(MemoryRegion *system_memory,
omap_pwl_init(system_memory, 0xfffb5800, s, omap_findclk(s, "armxor_ck"));
omap_pwt_init(system_memory, 0xfffb6000, s, omap_findclk(s, "armxor_ck"));
- s->i2c[0] = omap_i2c_init(0xfffb3800,
+ s->i2c[0] = omap_i2c_init(system_memory, 0xfffb3800,
qdev_get_gpio_in(s->ih[1], OMAP_INT_I2C),
&s->drq[OMAP_DMA_I2C_RX], omap_findclk(s, "mpuper_ck"));