aboutsummaryrefslogtreecommitdiff
path: root/include/hw/dma/i8257.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/dma/i8257.h')
-rw-r--r--include/hw/dma/i8257.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/hw/dma/i8257.h b/include/hw/dma/i8257.h
index 362ce7b..f652345 100644
--- a/include/hw/dma/i8257.h
+++ b/include/hw/dma/i8257.h
@@ -6,9 +6,7 @@
#include "qom/object.h"
#define TYPE_I8257 "i8257"
-typedef struct I8257State I8257State;
-DECLARE_INSTANCE_CHECKER(I8257State, I8257,
- TYPE_I8257)
+OBJECT_DECLARE_SIMPLE_TYPE(I8257State, I8257)
typedef struct I8257Regs {
int now[2];