]> git.proxmox.com Git - mirror_qemu.git/commitdiff
hw/or-irq: Declare QOM macros using OBJECT_DECLARE_SIMPLE_TYPE()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 13 Jan 2023 20:01:37 +0000 (21:01 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 27 Feb 2023 13:27:05 +0000 (13:27 +0000)
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

index f2f0a27381065df9ce69bf3d785a7dace608eeac..131abc2e0c7cecdff79e96602133882ccf0ca134 100644 (file)
@@ -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;