diff options
Diffstat (limited to 'hw/input/pl050.c')
-rw-r--r-- | hw/input/pl050.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/input/pl050.c b/hw/input/pl050.c index 8eb6866953..7c53ae97da 100644 --- a/hw/input/pl050.c +++ b/hw/input/pl050.c @@ -18,7 +18,8 @@ #define TYPE_PL050 "pl050" typedef struct PL050State PL050State; -#define PL050(obj) OBJECT_CHECK(PL050State, (obj), TYPE_PL050) +DECLARE_INSTANCE_CHECKER(PL050State, PL050, + TYPE_PL050) struct PL050State { SysBusDevice parent_obj; |