mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
hw/or-irq: Declare QOM macros using OBJECT_DECLARE_SIMPLE_TYPE()
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>
This commit is contained in:
parent
4703f6c2f7
commit
60d3ccfbe1
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue