diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-01-13 21:01:38 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2023-02-27 13:27:05 +0000 |
commit | e844f0c5d0bd2c4d8d3c1622eb2a88586c9c4677 (patch) | |
tree | 730293b4d5ef661856d9433f07b2bfe87a2db80f /include/hw/arm/stm32f205_soc.h | |
parent | 60d3ccfbe119974d3adda799de85cdae698c5434 (diff) | |
download | qemu-e844f0c5d0bd2c4d8d3c1622eb2a88586c9c4677.zip qemu-e844f0c5d0bd2c4d8d3c1622eb2a88586c9c4677.tar.gz qemu-e844f0c5d0bd2c4d8d3c1622eb2a88586c9c4677.tar.bz2 |
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>
Diffstat (limited to 'include/hw/arm/stm32f205_soc.h')
-rw-r--r-- | include/hw/arm/stm32f205_soc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/arm/stm32f205_soc.h b/include/hw/arm/stm32f205_soc.h index 849d3ed..5a4f776 100644 --- a/include/hw/arm/stm32f205_soc.h +++ b/include/hw/arm/stm32f205_soc.h @@ -63,7 +63,7 @@ struct STM32F205State { STM32F2XXADCState adc[STM_NUM_ADCS]; STM32F2XXSPIState spi[STM_NUM_SPIS]; - qemu_or_irq *adc_irqs; + OrIRQState *adc_irqs; MemoryRegion sram; MemoryRegion flash; |