]> git.proxmox.com Git - mirror_qemu.git/commit
mips: inline serial_init()
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 23 Oct 2019 13:29:55 +0000 (15:29 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 7 Jan 2020 13:24:29 +0000 (17:24 +0400)
commit9fac5d88ee1a81dca643a62bfce5a2364b437bfa
tree8e79afdcc67803fa30097a426165f7eddc7e8019
parent10315a70896fb82000cc4b2a1198b70c775c7a59
mips: inline serial_init()

The function is specific to mipssim, let's inline it.

(when inlining, we use a DeviceState variable instead of SerialIO, as
it is the most common type used, and avoids having too many casts)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com>
hw/char/serial.c
hw/mips/mips_mipssim.c
include/hw/char/serial.h