aboutsummaryrefslogtreecommitdiff
path: root/include/hw/misc/mps2-scc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/misc/mps2-scc.h')
-rw-r--r--include/hw/misc/mps2-scc.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/hw/misc/mps2-scc.h b/include/hw/misc/mps2-scc.h
index 445e268b1f..e922b3c8e0 100644
--- a/include/hw/misc/mps2-scc.h
+++ b/include/hw/misc/mps2-scc.h
@@ -16,9 +16,7 @@
#include "qom/object.h"
#define TYPE_MPS2_SCC "mps2-scc"
-typedef struct MPS2SCC MPS2SCC;
-DECLARE_INSTANCE_CHECKER(MPS2SCC, MPS2_SCC,
- TYPE_MPS2_SCC)
+OBJECT_DECLARE_SIMPLE_TYPE(MPS2SCC, MPS2_SCC)
#define NUM_OSCCLK 3