aboutsummaryrefslogtreecommitdiff
path: root/hw/audio/cs4231.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/audio/cs4231.c')
-rw-r--r--hw/audio/cs4231.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/audio/cs4231.c b/hw/audio/cs4231.c
index 2b868051c3..8e9554ce9b 100644
--- a/hw/audio/cs4231.c
+++ b/hw/audio/cs4231.c
@@ -39,8 +39,8 @@
#define TYPE_CS4231 "SUNW,CS4231"
typedef struct CSState CSState;
-#define CS4231(obj) \
- OBJECT_CHECK(CSState, (obj), TYPE_CS4231)
+DECLARE_INSTANCE_CHECKER(CSState, CS4231,
+ TYPE_CS4231)
struct CSState {
SysBusDevice parent_obj;