]> Git Repo - qemu.git/blobdiff - hw/arm/omap2.c
char: allow specifying a GMainContext at opening time
[qemu.git] / hw / arm / omap2.c
index b8d0910a1f1acc309110c37db1bee8f4252a93b7..94dffb2f577cafbffca941584470b238b38d0872 100644 (file)
@@ -23,8 +23,6 @@
 #include "qapi/error.h"
 #include "qemu-common.h"
 #include "cpu.h"
-#include "sysemu/block-backend.h"
-#include "sysemu/blockdev.h"
 #include "sysemu/qtest.h"
 #include "hw/boards.h"
 #include "hw/hw.h"
@@ -801,7 +799,7 @@ static struct omap_sti_s *omap_sti_init(struct omap_target_agent_s *ta,
     s->irq = irq;
     omap_sti_reset(s);
 
-    qemu_chr_fe_init(&s->chr, chr ?: qemu_chr_new("null", "null"),
+    qemu_chr_fe_init(&s->chr, chr ?: qemu_chr_new("null", "null", NULL),
                      &error_abort);
 
     memory_region_init_io(&s->iomem, NULL, &omap_sti_ops, s, "omap.sti",
This page took 0.023279 seconds and 4 git commands to generate.