diff options
Diffstat (limited to 'hw/timer/xilinx_timer.c')
-rw-r--r-- | hw/timer/xilinx_timer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/timer/xilinx_timer.c b/hw/timer/xilinx_timer.c index c262f6d96f..1eb927eb84 100644 --- a/hw/timer/xilinx_timer.c +++ b/hw/timer/xilinx_timer.c @@ -62,8 +62,8 @@ struct xlx_timer }; #define TYPE_XILINX_TIMER "xlnx.xps-timer" -#define XILINX_TIMER(obj) \ - OBJECT_CHECK(struct timerblock, (obj), TYPE_XILINX_TIMER) +DECLARE_INSTANCE_CHECKER(struct timerblock, XILINX_TIMER, + TYPE_XILINX_TIMER) struct timerblock { |