diff options
Diffstat (limited to 'hw/ssi/ssi.c')
-rw-r--r-- | hw/ssi/ssi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/ssi/ssi.c b/hw/ssi/ssi.c index 5366a80d45..faf7633e70 100644 --- a/hw/ssi/ssi.c +++ b/hw/ssi/ssi.c @@ -24,7 +24,8 @@ struct SSIBus { }; #define TYPE_SSI_BUS "SSI" -#define SSI_BUS(obj) OBJECT_CHECK(SSIBus, (obj), TYPE_SSI_BUS) +DECLARE_INSTANCE_CHECKER(SSIBus, SSI_BUS, + TYPE_SSI_BUS) static const TypeInfo ssi_bus_info = { .name = TYPE_SSI_BUS, |