hw/intc/xilinx_intc: Use 'XpsIntc' typedef instead of 'struct xlx_pic'
commitd2960be0c3dafc43a3160b275ea8760bb308a909
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 9 Jan 2023 14:03:05 +0000 (9 15:03 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 12 Jan 2023 17:15:09 +0000 (12 17:15 +0000)
treeb1ec6a13816e1f76525394e9ce42afed4579139c
parent95700465ac7160683dc6553d5901de38165d7b25
hw/intc/xilinx_intc: Use 'XpsIntc' typedef instead of 'struct xlx_pic'

This remove a use of 'struct' in the DECLARE_INSTANCE_CHECKER()
macro call, to avoid after a QOM refactor:

  hw/intc/xilinx_intc.c:45:1: error: declaration of anonymous struct must be a definition
  DECLARE_INSTANCE_CHECKER(struct xlx_pic, XILINX_INTC,
                           ^

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-14-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/intc/xilinx_intc.c