diff options
Diffstat (limited to 'hw/intc/pl190.c')
-rw-r--r-- | hw/intc/pl190.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/intc/pl190.c b/hw/intc/pl190.c index 4f2aa58..ee32061 100644 --- a/hw/intc/pl190.c +++ b/hw/intc/pl190.c @@ -23,7 +23,8 @@ #define TYPE_PL190 "pl190" typedef struct PL190State PL190State; -#define PL190(obj) OBJECT_CHECK(PL190State, (obj), TYPE_PL190) +DECLARE_INSTANCE_CHECKER(PL190State, PL190, + TYPE_PL190) struct PL190State { SysBusDevice parent_obj; |