diff options
author | Andreas Färber <afaerber@suse.de> | 2012-11-25 20:44:33 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-11-26 14:25:42 -0600 |
commit | 25d87288b150032fedcf7b5380fb54fdbdd6788d (patch) | |
tree | 0d00b4bde6ca8d4c4482d11ac0c041f3f5e99012 | |
parent | 0c26f2eca40d6c65ea9edc62a10e510dc7f65cc8 (diff) |
i8259: Fix PIC_COMMON() macro
It used a wrong struct type name since its introduction in
8f04ee0882aec9fe91fb70f767edf5dacff59835 (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>
-rw-r--r-- | hw/i8259_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i8259_internal.h b/hw/i8259_internal.h index 4137b61703..8785b1da3f 100644 --- a/hw/i8259_internal.h +++ b/hw/i8259_internal.h @@ -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) \ |