Revision 380cd056 hw/display/omap_lcdc.c

b/hw/display/omap_lcdc.c
384 384
    s->ctrl = 0;
385 385
}
386 386

  
387
static const GraphicHwOps omap_ops = {
388
    .invalidate  = omap_invalidate_display,
389
    .gfx_update  = omap_update_display,
390
};
391

  
387 392
struct omap_lcd_panel_s *omap_lcdc_init(MemoryRegion *sysmem,
388 393
                                        hwaddr base,
389 394
                                        qemu_irq irq,
......
401 406
    memory_region_init_io(&s->iomem, &omap_lcdc_ops, s, "omap.lcdc", 0x100);
402 407
    memory_region_add_subregion(sysmem, base, &s->iomem);
403 408

  
404
    s->con = graphic_console_init(omap_update_display,
405
                                  omap_invalidate_display,
406
                                  NULL, s);
409
    s->con = graphic_console_init(&omap_ops, s);
407 410

  
408 411
    return s;
409 412
}

Also available in: Unified diff