summaryrefslogtreecommitdiffstats
path: root/hw/xtensa/xtfpga.c
diff options
context:
space:
mode:
authorMarc-André Lureau2016-10-22 11:52:46 +0200
committerPaolo Bonzini2016-10-24 15:27:20 +0200
commitb4948be93e53c3b471666e51ce59303082626a2f (patch)
treec9a61704d7e1e752336bf2eec2b8a25136e2df77 /hw/xtensa/xtfpga.c
parentmalta: replace chr init by CHR_EVENT_OPENED handler (diff)
downloadqemu-b4948be93e53c3b471666e51ce59303082626a2f.tar.gz
qemu-b4948be93e53c3b471666e51ce59303082626a2f.tar.xz
qemu-b4948be93e53c3b471666e51ce59303082626a2f.zip
char: remove init callback
The CharDriverState.init() callback is no longer set since commit a61ae7f88ce and thus unused. The only user, the malta FGPA display has been converted to use an event "opened" callback instead. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20161022095318.17775-7-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/xtensa/xtfpga.c')
-rw-r--r--hw/xtensa/xtfpga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xtensa/xtfpga.c b/hw/xtensa/xtfpga.c
index ac75949484..dc6fdcc266 100644
--- a/hw/xtensa/xtfpga.c
+++ b/hw/xtensa/xtfpga.c
@@ -265,7 +265,7 @@ static void lx_init(const LxBoardDesc *board, MachineState *machine)
}
if (!serial_hds[0]) {
- serial_hds[0] = qemu_chr_new("serial0", "null", NULL);
+ serial_hds[0] = qemu_chr_new("serial0", "null");
}
serial_mm_init(system_io, 0x0d050020, 2, xtensa_get_extint(env, 0),