mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 03:59:52 +00:00
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
Block a user