diff options
Diffstat (limited to 'include/hw/timer/i8254.h')
-rw-r--r-- | include/hw/timer/i8254.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/hw/timer/i8254.h b/include/hw/timer/i8254.h index 1a522a2..3e569f4 100644 --- a/include/hw/timer/i8254.h +++ b/include/hw/timer/i8254.h @@ -40,10 +40,7 @@ typedef struct PITChannelInfo { } PITChannelInfo; #define TYPE_PIT_COMMON "pit-common" -typedef struct PITCommonState PITCommonState; -typedef struct PITCommonClass PITCommonClass; -DECLARE_OBJ_CHECKERS(PITCommonState, PITCommonClass, - PIT_COMMON, TYPE_PIT_COMMON) +OBJECT_DECLARE_TYPE(PITCommonState, PITCommonClass, PIT_COMMON) #define TYPE_I8254 "isa-pit" #define TYPE_KVM_I8254 "kvm-pit" |