summary refs log tree commit diff stats
path: root/scripts/main.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-01-09 15:03:06 +0100
committerPeter Maydell <peter.maydell@linaro.org>2023-01-12 17:15:09 +0000
commit543d02267150aef71763fb2baaccef8eb9e5042a (patch)
tree1e25bc559d1c71776d2c61e31ae63d06e1f50578 /scripts/main.c
parentd2960be0c3dafc43a3160b275ea8760bb308a909 (diff)
downloadfocaccia-qemu-543d02267150aef71763fb2baaccef8eb9e5042a.tar.gz
focaccia-qemu-543d02267150aef71763fb2baaccef8eb9e5042a.zip
hw/timer/xilinx_timer: Use XpsTimerState instead of 'struct timerblock'
This remove a use of 'struct' in the DECLARE_INSTANCE_CHECKER()
macro call, to avoid after a QOM refactor:

  hw/timer/xilinx_timer.c:65:1: error: declaration of anonymous struct must be a definition
  DECLARE_INSTANCE_CHECKER(struct timerblock, XILINX_TIMER,
                           ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar@zeroasic.com>
Message-id: 20230109140306.23161-15-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts/main.c')
0 files changed, 0 insertions, 0 deletions