mirror of https://gitee.com/openkylin/qemu.git
i8259: Fix PIC_COMMON() macro
It used a wrong struct type name since its introduction in
8f04ee0882
(isa: pic: convert to QEMU
Object Model), apparently it is unused so far.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
0c26f2eca4
commit
25d87288b1
|
@ -33,7 +33,7 @@ typedef struct PICCommonState PICCommonState;
|
|||
|
||||
#define TYPE_PIC_COMMON "pic-common"
|
||||
#define PIC_COMMON(obj) \
|
||||
OBJECT_CHECK(PICCommon, (obj), TYPE_PIC_COMMON)
|
||||
OBJECT_CHECK(PICCommonState, (obj), TYPE_PIC_COMMON)
|
||||
#define PIC_COMMON_CLASS(klass) \
|
||||
OBJECT_CLASS_CHECK(PICCommonClass, (klass), TYPE_PIC_COMMON)
|
||||
#define PIC_COMMON_GET_CLASS(obj) \
|
||||
|
|
Loading…
Reference in New Issue