aboutsummaryrefslogtreecommitdiff
path: root/hw/audio/intel-hda.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/audio/intel-hda.h')
-rw-r--r--hw/audio/intel-hda.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/hw/audio/intel-hda.h b/hw/audio/intel-hda.h
index 813a7a3..f5cce18 100644
--- a/hw/audio/intel-hda.h
+++ b/hw/audio/intel-hda.h
@@ -8,10 +8,8 @@
/* hda bus */
#define TYPE_HDA_CODEC_DEVICE "hda-codec"
-typedef struct HDACodecDevice HDACodecDevice;
-typedef struct HDACodecDeviceClass HDACodecDeviceClass;
-DECLARE_OBJ_CHECKERS(HDACodecDevice, HDACodecDeviceClass,
- HDA_CODEC_DEVICE, TYPE_HDA_CODEC_DEVICE)
+OBJECT_DECLARE_TYPE(HDACodecDevice, HDACodecDeviceClass,
+ hda_codec_device, HDA_CODEC_DEVICE)
#define TYPE_HDA_BUS "HDA"
typedef struct HDACodecBus HDACodecBus;