diff options
Diffstat (limited to 'hw/audio/cs4231.c')
-rw-r--r-- | hw/audio/cs4231.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/audio/cs4231.c b/hw/audio/cs4231.c index 2b86805..8e9554c 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; |