[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 11/16] typedefs: Remove PS2State
From: |
Thomas Huth |
Subject: |
Re: [Qemu-devel] [PATCH 11/16] typedefs: Remove PS2State |
Date: |
Mon, 7 Jan 2019 08:26:19 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 2019-01-04 18:58, Philippe Mathieu-Daudé wrote:
> PS2State is only used in "hw/input/ps2.h", there is no
> need to expose it via "qemu/typedefs.h".
>
> Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
> ---
> include/hw/input/ps2.h | 2 ++
> include/qemu/typedefs.h | 1 -
> 2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/include/hw/input/ps2.h b/include/hw/input/ps2.h
> index 213aa16aa3..b60455d4f6 100644
> --- a/include/hw/input/ps2.h
> +++ b/include/hw/input/ps2.h
> @@ -31,6 +31,8 @@
> #define PS2_MOUSE_BUTTON_SIDE 0x08
> #define PS2_MOUSE_BUTTON_EXTRA 0x10
>
> +typedef struct PS2State PS2State;
> +
> /* ps2.c */
> void *ps2_kbd_init(void (*update_irq)(void *, int), void *update_arg);
> void *ps2_mouse_init(void (*update_irq)(void *, int), void *update_arg);
> diff --git a/include/qemu/typedefs.h b/include/qemu/typedefs.h
> index 927b340bb4..181f8fa68e 100644
> --- a/include/qemu/typedefs.h
> +++ b/include/qemu/typedefs.h
> @@ -82,7 +82,6 @@ typedef struct PixelFormat PixelFormat;
> typedef struct PostcopyDiscardState PostcopyDiscardState;
> typedef struct Property Property;
> typedef struct PropertyInfo PropertyInfo;
> -typedef struct PS2State PS2State;
> typedef struct QEMUBH QEMUBH;
> typedef struct QemuConsole QemuConsole;
> typedef struct QemuDmaBuf QemuDmaBuf;
>
Reviewed-by: Thomas Huth <address@hidden>
- [Qemu-devel] [PATCH 08/16] MAINTAINERS: Add missing entries for the TI touchscreen devices, (continued)
[Qemu-devel] [PATCH 09/16] hw/devices: Move TI touchscreen declarations into a new header, Philippe Mathieu-Daudé, 2019/01/04
[Qemu-devel] [PATCH 10/16] typedefs: Remove MouseTransformInfo, Philippe Mathieu-Daudé, 2019/01/04
[Qemu-devel] [PATCH 11/16] typedefs: Remove PS2State, Philippe Mathieu-Daudé, 2019/01/04
- Re: [Qemu-devel] [PATCH 11/16] typedefs: Remove PS2State,
Thomas Huth <=
[Qemu-devel] [PATCH 12/16] hw/devices: Move LAN9118 declarations into a new header, Philippe Mathieu-Daudé, 2019/01/04
[Qemu-devel] [PATCH 13/16] hw/net/ne2000-isa: Add guards to the header, Philippe Mathieu-Daudé, 2019/01/04
[Qemu-devel] [PATCH 14/16] hw/net/lan9118: Export TYPE_LAN9118 and use it instead of hardcoded string, Philippe Mathieu-Daudé, 2019/01/04
[Qemu-devel] [PATCH 15/16] hw/devices: Move SMSC 91C111 declaration into a new header, Philippe Mathieu-Daudé, 2019/01/04
[Qemu-devel] [PATCH 16/16] RFC hw/net/smc91c111: Convert init helper into an inline function, Philippe Mathieu-Daudé, 2019/01/04