]> git.proxmox.com Git - mirror_qemu.git/commit
hw: Replace qemu_or_irq typedef by OrIRQState
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 13 Jan 2023 20:01:38 +0000 (21:01 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 27 Feb 2023 13:27:05 +0000 (13:27 +0000)
commite844f0c5d0bd2c4d8d3c1622eb2a88586c9c4677
tree730293b4d5ef661856d9433f07b2bfe87a2db80f
parent60d3ccfbe119974d3adda799de85cdae698c5434
hw: Replace qemu_or_irq typedef by OrIRQState

OBJECT_DECLARE_SIMPLE_TYPE() macro provides the OrIRQState
declaration for free. Besides, the QOM code style is to use
the structure name as typedef, and QEMU style is to use Camel
Case, so rename qemu_or_irq as OrIRQState.

Mechanical change using:

  $ sed -i -e 's/qemu_or_irq/OrIRQState/g' $(git grep -l qemu_or_irq)

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20230113200138.52869-5-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
12 files changed:
hw/arm/exynos4210.c
hw/arm/mps2-tz.c
hw/core/or-irq.c
hw/pci-host/raven.c
include/hw/arm/armsse.h
include/hw/arm/bcm2835_peripherals.h
include/hw/arm/exynos4210.h
include/hw/arm/stm32f205_soc.h
include/hw/arm/stm32f405_soc.h
include/hw/arm/xlnx-versal.h
include/hw/arm/xlnx-zynqmp.h
include/hw/or-irq.h