diff options
Diffstat (limited to 'hw/intc/loongson_liointc.c')
-rw-r--r-- | hw/intc/loongson_liointc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/intc/loongson_liointc.c b/hw/intc/loongson_liointc.c index e11ca68647..30fb375b72 100644 --- a/hw/intc/loongson_liointc.c +++ b/hw/intc/loongson_liointc.c @@ -44,8 +44,8 @@ #define R_END 0x64 #define TYPE_LOONGSON_LIOINTC "loongson.liointc" -#define LOONGSON_LIOINTC(obj) \ - OBJECT_CHECK(struct loongson_liointc, (obj), TYPE_LOONGSON_LIOINTC) +DECLARE_INSTANCE_CHECKER(struct loongson_liointc, LOONGSON_LIOINTC, + TYPE_LOONGSON_LIOINTC) struct loongson_liointc { SysBusDevice parent_obj; |