[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 24/25] hw/or-irq: Declare QOM macros using OBJECT_DECLARE_SIMPLE_T
From: |
Peter Maydell |
Subject: |
[PULL 24/25] hw/or-irq: Declare QOM macros using OBJECT_DECLARE_SIMPLE_TYPE() |
Date: |
Mon, 27 Feb 2023 14:01:01 +0000 |
From: Philippe Mathieu-Daudé <philmd@linaro.org>
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: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20230113200138.52869-4-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
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 f2f0a273810..131abc2e0c7 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.34.1
- [PULL 16/25] hw/char/xilinx_uartlite: Expose XILINX_UARTLITE QOM type, (continued)
- [PULL 16/25] hw/char/xilinx_uartlite: Expose XILINX_UARTLITE QOM type, Peter Maydell, 2023/02/27
- [PULL 20/25] hw/intc/armv7m_nvic: Use QOM cast CPU() macro, Peter Maydell, 2023/02/27
- [PULL 22/25] iothread: Remove unused IOThreadClass / IOTHREAD_CLASS, Peter Maydell, 2023/02/27
- [PULL 23/25] hw/irq: Declare QOM macros using OBJECT_DECLARE_SIMPLE_TYPE(), Peter Maydell, 2023/02/27
- [PULL 06/25] target/arm: Move psci.c into the tcg directory, Peter Maydell, 2023/02/27
- [PULL 04/25] target/arm: move translate modules to tcg/, Peter Maydell, 2023/02/27
- [PULL 11/25] cpu-defs.h: Expose CPUTLBEntryFull to non-TCG code, Peter Maydell, 2023/02/27
- [PULL 13/25] hw/gpio/max7310: Simplify max7310_realize(), Peter Maydell, 2023/02/27
- [PULL 19/25] hw/timer/cmsdk-apb-timer: Remove unused 'qdev-properties.h' header, Peter Maydell, 2023/02/27
- [PULL 18/25] hw/char/cmsdk-apb-uart: Open-code cmsdk_apb_uart_create(), Peter Maydell, 2023/02/27
- [PULL 24/25] hw/or-irq: Declare QOM macros using OBJECT_DECLARE_SIMPLE_TYPE(),
Peter Maydell <=
- Re: [PULL 00/25] target-arm queue, Peter Maydell, 2023/02/27