diff options
Diffstat (limited to 'hw/dma/pl330.c')
-rw-r--r-- | hw/dma/pl330.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/dma/pl330.c b/hw/dma/pl330.c index 380d45d..859586f 100644 --- a/hw/dma/pl330.c +++ b/hw/dma/pl330.c @@ -272,7 +272,8 @@ struct PL330State { }; #define TYPE_PL330 "pl330" -#define PL330(obj) OBJECT_CHECK(PL330State, (obj), TYPE_PL330) +DECLARE_INSTANCE_CHECKER(PL330State, PL330, + TYPE_PL330) static const VMStateDescription vmstate_pl330 = { .name = "pl330", |