[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/4] hw/or-irq: Declare QOM macros using OBJECT_DECLARE_SIMPL
From: |
Alistair Francis |
Subject: |
Re: [PATCH 3/4] hw/or-irq: Declare QOM macros using OBJECT_DECLARE_SIMPLE_TYPE() |
Date: |
Mon, 16 Jan 2023 12:47:27 +1000 |
On Sat, Jan 14, 2023 at 6:03 AM Philippe Mathieu-Daudé
<philmd@linaro.org> wrote:
>
> Missed during automatic conversion from commit 8063396bf3
> ("Use OBJECT_DECLARE_SIMPLE_TYPE when possible").
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Alistair
> ---
> include/hw/or-irq.h | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/include/hw/or-irq.h b/include/hw/or-irq.h
> index f2f0a27381..131abc2e0c 100644
> --- a/include/hw/or-irq.h
> +++ b/include/hw/or-irq.h
> @@ -37,8 +37,7 @@
>
> typedef struct OrIRQState qemu_or_irq;
>
> -DECLARE_INSTANCE_CHECKER(qemu_or_irq, OR_IRQ,
> - TYPE_OR_IRQ)
> +OBJECT_DECLARE_SIMPLE_TYPE(OrIRQState, OR_IRQ)
>
> struct OrIRQState {
> DeviceState parent_obj;
> --
> 2.38.1
>
>
- [PATCH 0/4] hw: QOM housekeeping around IOTHREAD / IRQ types, Philippe Mathieu-Daudé, 2023/01/13
- [PATCH 1/4] iothread: Remove unused IOThreadClass / IOTHREAD_CLASS, Philippe Mathieu-Daudé, 2023/01/13
- [PATCH 2/4] hw/irq: Declare QOM macros using OBJECT_DECLARE_SIMPLE_TYPE(), Philippe Mathieu-Daudé, 2023/01/13
- [PATCH 3/4] hw/or-irq: Declare QOM macros using OBJECT_DECLARE_SIMPLE_TYPE(), Philippe Mathieu-Daudé, 2023/01/13
- Re: [PATCH 3/4] hw/or-irq: Declare QOM macros using OBJECT_DECLARE_SIMPLE_TYPE(),
Alistair Francis <=
- [PATCH 4/4] hw: Replace qemu_or_irq typedef by OrIRQState, Philippe Mathieu-Daudé, 2023/01/13
- Re: [PATCH 0/4] hw: QOM housekeeping around IOTHREAD / IRQ types, Stefan Hajnoczi, 2023/01/17