diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2019-10-22 01:14:43 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2020-01-07 16:50:48 +0400 |
commit | b9975000a008c5b0801e3d24ed113a1bd2767ed5 (patch) | |
tree | d2b17e8a550c5de7ebd0cb018a77410e4ebd4493 /include/hw/char | |
parent | c9808d602813bce4fada7bf9ecc463aa779b73f7 (diff) | |
download | qemu-b9975000a008c5b0801e3d24ed113a1bd2767ed5.zip |
serial: replace serial_exit_core() with unrealize
Instead of calling serial_exit_core() directly, use the QDev unrealize
callback.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'include/hw/char')
-rw-r--r-- | include/hw/char/serial.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/char/serial.h b/include/hw/char/serial.h index 571aab97c8..548944b06a 100644 --- a/include/hw/char/serial.h +++ b/include/hw/char/serial.h @@ -83,7 +83,6 @@ typedef struct SerialState { extern const VMStateDescription vmstate_serial; extern const MemoryRegionOps serial_io_ops; -void serial_exit_core(SerialState *s); void serial_set_frequency(SerialState *s, uint32_t frequency); #define TYPE_SERIAL "serial" |