On Fri, Aug 06 2021, Eduardo Habkost <ehabk...@redhat.com> wrote: > Automatically split struct definition and typedef declaration in > separate declarations, using a codeconverter rule. The rule will > only touch declarations of structs/typedefs actually used by QOM > types. > > This will make automated changes to use OBJECT_DECLARE* macros > easier to implement, because automated removal of typedef lines > will be easier and safer. > > Generated using: > > $ ./scripts/codeconverter/converter.py -i \ > --pattern=QOMStructTypedefSplit $(git grep -l '' -- '*.[ch]') > > Signed-off-by: Eduardo Habkost <ehabk...@redhat.com> > --- > Cc: "Marc-André Lureau" <marcandre.lur...@redhat.com> > Cc: Paolo Bonzini <pbonz...@redhat.com> > Cc: Patrick Venture <vent...@google.com> > Cc: Thomas Huth <h...@tuxfamily.org> > Cc: Keith Busch <kbu...@kernel.org> > Cc: Klaus Jensen <i...@irrelevant.dk> > Cc: "Michael S. Tsirkin" <m...@redhat.com> > Cc: Cornelia Huck <coh...@redhat.com> > Cc: Halil Pasic <pa...@linux.ibm.com> > Cc: Christian Borntraeger <borntrae...@de.ibm.com> > Cc: Richard Henderson <richard.hender...@linaro.org> > Cc: David Hildenbrand <da...@redhat.com> > Cc: Gerd Hoffmann <kra...@redhat.com> > Cc: Havard Skinnemoen <hskinnem...@google.com> > Cc: Tyrone Ting <kft...@nuvoton.com> > Cc: Alistair Francis <alistair.fran...@wdc.com> > Cc: Bin Meng <bin.m...@windriver.com> > Cc: Palmer Dabbelt <pal...@dabbelt.com> > Cc: "Edgar E. Iglesias" <edgar.igles...@gmail.com> > Cc: Peter Maydell <peter.mayd...@linaro.org> > Cc: Andrew Baumann <andrew.baum...@microsoft.com> > Cc: "Philippe Mathieu-Daudé" <f4...@amsat.org> > Cc: "Cédric Le Goater" <c...@kaod.org> > Cc: David Gibson <da...@gibson.dropbear.id.au> > Cc: Greg Kurz <gr...@kaod.org> > Cc: Laurent Vivier <lviv...@redhat.com> > Cc: qemu-devel@nongnu.org > Cc: qemu-bl...@nongnu.org > Cc: qemu-s3...@nongnu.org > Cc: qemu-...@nongnu.org > Cc: qemu-ri...@nongnu.org > Cc: qemu-...@nongnu.org > --- > hw/nvme/nvme.h | 10 ++++++---- > hw/usb/hcd-uhci.h | 5 +++-- > hw/usb/u2f.h | 5 +++-- > include/hw/adc/npcm7xx_adc.h | 5 +++-- > include/hw/arm/npcm7xx.h | 10 ++++++---- > include/hw/core/accel-cpu.h | 5 +++-- > include/hw/dma/sifive_pdma.h | 5 +++-- > include/hw/dma/xlnx_csu_dma.h | 5 +++-- > include/hw/gpio/npcm7xx_gpio.h | 5 +++-- > include/hw/i2c/npcm7xx_smbus.h | 5 +++-- > include/hw/mem/npcm7xx_mc.h | 5 +++-- > include/hw/misc/bcm2835_cprman.h | 20 ++++++++++++-------- > include/hw/misc/mchp_pfsoc_dmc.h | 10 ++++++---- > include/hw/misc/mchp_pfsoc_ioscb.h | 5 +++-- > include/hw/misc/mchp_pfsoc_sysreg.h | 5 +++-- > include/hw/misc/npcm7xx_clk.h | 15 +++++++++------ > include/hw/misc/npcm7xx_gcr.h | 5 +++-- > include/hw/misc/npcm7xx_mft.h | 5 +++-- > include/hw/misc/npcm7xx_rng.h | 5 +++-- > include/hw/nvram/npcm7xx_otp.h | 5 +++-- > include/hw/riscv/microchip_pfsoc.h | 10 ++++++---- > include/hw/riscv/sifive_e.h | 5 +++-- > include/hw/sd/cadence_sdhci.h | 5 +++-- > include/qemu/accel.h | 10 ++++++---- > chardev/char-parallel.c | 10 ++++++---- > hw/i2c/i2c_mux_pca954x.c | 5 +++-- > hw/m68k/mcf5206.c | 5 +++-- > hw/misc/sbsa_ec.c | 5 +++-- > hw/s390x/vhost-user-fs-ccw.c | 5 +++-- > tests/qtest/pnv-xscom-test.c | 5 +++-- > 30 files changed, 123 insertions(+), 82 deletions(-)
Acked-by: Cornelia Huck <coh...@redhat.com>