diff options
Diffstat (limited to 'hw/i386/kvm/i8259.c')
-rw-r--r-- | hw/i386/kvm/i8259.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/hw/i386/kvm/i8259.c b/hw/i386/kvm/i8259.c index b256f97c83..3f8bf69e9c 100644 --- a/hw/i386/kvm/i8259.c +++ b/hw/i386/kvm/i8259.c @@ -21,10 +21,8 @@ #define TYPE_KVM_I8259 "kvm-i8259" typedef struct KVMPICClass KVMPICClass; -#define KVM_PIC_CLASS(class) \ - OBJECT_CLASS_CHECK(KVMPICClass, (class), TYPE_KVM_I8259) -#define KVM_PIC_GET_CLASS(obj) \ - OBJECT_GET_CLASS(KVMPICClass, (obj), TYPE_KVM_I8259) +DECLARE_CLASS_CHECKERS(KVMPICClass, KVM_PIC, + TYPE_KVM_I8259) /** * KVMPICClass: |