diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-10-22 12:52:45 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-10-24 15:27:20 +0200 |
commit | 9850b05d216b3a835f92100fed64ffad77e5cf3b (patch) | |
tree | b3ae9d00bdbe5cc8103f64949c0774d1032f1dae /hw/char/omap_uart.c | |
parent | 4496dc49ec9a6e24e9eeb2da970ed0ec0051968e (diff) | |
download | qemu-9850b05d216b3a835f92100fed64ffad77e5cf3b.zip qemu-9850b05d216b3a835f92100fed64ffad77e5cf3b.tar.gz qemu-9850b05d216b3a835f92100fed64ffad77e5cf3b.tar.bz2 |
malta: replace chr init by CHR_EVENT_OPENED handler
The CharDriverState.init() callback was introduced in commit
ceecf1d158. It is only called from text_console_do_init(), but it is no
longer set since commit a61ae7f88 (init assignment has been removed by
accident).
It seems correct to use an event callback instead and print the console
text on CHR_EVENT_OPENED. That way we can remove the single user of
CharDriverState init().
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20161022095318.17775-6-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/char/omap_uart.c')
0 files changed, 0 insertions, 0 deletions