aboutsummaryrefslogtreecommitdiff
path: root/hw/audio/adlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/audio/adlib.c')
-rw-r--r--hw/audio/adlib.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/audio/adlib.c b/hw/audio/adlib.c
index 870116e324..42d50d2fdc 100644
--- a/hw/audio/adlib.c
+++ b/hw/audio/adlib.c
@@ -52,9 +52,7 @@
#define SHIFT 1
#define TYPE_ADLIB "adlib"
-typedef struct AdlibState AdlibState;
-DECLARE_INSTANCE_CHECKER(AdlibState, ADLIB,
- TYPE_ADLIB)
+OBJECT_DECLARE_SIMPLE_TYPE(AdlibState, ADLIB)
struct AdlibState {
ISADevice parent_obj;