diff options
Diffstat (limited to 'hw/intc')
-rw-r--r-- | hw/intc/sifive_plic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/intc/sifive_plic.h b/hw/intc/sifive_plic.h index aa6ae13c3a..b75b1f145d 100644 --- a/hw/intc/sifive_plic.h +++ b/hw/intc/sifive_plic.h @@ -27,8 +27,8 @@ #define TYPE_SIFIVE_PLIC "riscv.sifive.plic" typedef struct SiFivePLICState SiFivePLICState; -#define SIFIVE_PLIC(obj) \ - OBJECT_CHECK(SiFivePLICState, (obj), TYPE_SIFIVE_PLIC) +DECLARE_INSTANCE_CHECKER(SiFivePLICState, SIFIVE_PLIC, + TYPE_SIFIVE_PLIC) typedef enum PLICMode { PLICMode_U, |