hw/adc/zynq-xadc: Use qemu_irq typedef
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 9 May 2022 20:20:35 +0000 (22:20 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 19 May 2022 15:19:02 +0000 (16:19 +0100)
commit6e76d35f2375c3ef58aaaccbe5cee54b20a1f74a
tree462aef9d11d8ef36d34e5074252464234f0da55a
parente1be11a5a440bfa552e0a8bb109d72294054e3f0
hw/adc/zynq-xadc: Use qemu_irq typedef

Except hw/core/irq.c which implements the forward-declared opaque
qemu_irq structure, hw/adc/zynq-xadc.{c,h} are the only files not
using the typedef. Fix this single exception.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Bernhard Beschow <shentey@gmail.com>
Message-id: 20220509202035.50335-1-philippe.mathieu.daude@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/adc/zynq-xadc.c
include/hw/adc/zynq-xadc.h