]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/audio/gus.c
Use DECLARE_*CHECKER* macros
[mirror_qemu.git] / hw / audio / gus.c
index 3cd62d43d7705a130ad02b22011c59dbb3b93884..307fd48315aaa2c5f76c15ba60b518383f3760ca 100644 (file)
@@ -44,7 +44,8 @@
 
 #define TYPE_GUS "gus"
 typedef struct GUSState GUSState;
-#define GUS(obj) OBJECT_CHECK (GUSState, (obj), TYPE_GUS)
+DECLARE_INSTANCE_CHECKER(GUSState, GUS,
+                         TYPE_GUS)
 
 struct GUSState {
     ISADevice dev;