summaryrefslogtreecommitdiff
path: root/hw/omap1.c
diff options
context:
space:
mode:
authorBenoît Canet <benoit.canet@gmail.com>2011-11-28 13:53:36 +0100
committerAvi Kivity <avi@redhat.com>2011-11-28 15:38:47 +0200
commit30af1ec7295b3fecab641320cf97208b0936571f (patch)
tree1b248ad012463cc06048a4e122f8c3d98de53ccc /hw/omap1.c
parent1a0726900e4f472cdb389fd249bfdfa0e30f21e7 (diff)
downloadqemu-30af1ec7295b3fecab641320cf97208b0936571f.tar.gz
qemu-30af1ec7295b3fecab641320cf97208b0936571f.tar.bz2
qemu-30af1ec7295b3fecab641320cf97208b0936571f.zip
omap_lcdc: 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 79b5178790..f985f8d58c 100644
--- a/hw/omap1.c
+++ b/hw/omap1.c
@@ -3884,7 +3884,7 @@ struct omap_mpu_state_s *omap310_mpu_init(MemoryRegion *system_memory,
qdev_get_gpio_in(s->ih[1], OMAP_INT_OS_TIMER),
omap_findclk(s, "clk32-kHz"));
- s->lcd = omap_lcdc_init(0xfffec000,
+ s->lcd = omap_lcdc_init(system_memory, 0xfffec000,
qdev_get_gpio_in(s->ih[0], OMAP_INT_LCD_CTRL),
omap_dma_get_lcdch(s->dma),
omap_findclk(s, "lcd_ck"));