qemu/hw/usb
Eduardo Habkost db1015e92e Move QOM typedefs and add missing includes
Some typedefs and macros are defined after the type check macros.
This makes it difficult to automatically replace their
definitions with OBJECT_DECLARE_TYPE.

Patch generated using:

 $ ./scripts/codeconverter/converter.py -i \
   --pattern=QOMStructTypedefSplit $(git grep -l '' -- '*.[ch]')

which will split "typdef struct { ... } TypedefName"
declarations.

Followed by:

 $ ./scripts/codeconverter/converter.py -i --pattern=MoveSymbols \
    $(git grep -l '' -- '*.[ch]')

which will:
- move the typedefs and #defines above the type check macros
- add missing #include "qom/object.h" lines if necessary

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20200831210740.126168-9-ehabkost@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20200831210740.126168-10-ehabkost@redhat.com>
Message-Id: <20200831210740.126168-11-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2020-09-09 09:26:43 -04:00
..
bus.c usb/bus: Remove dead assignment in usb_get_fw_dev_path() 2020-09-01 12:03:39 +02:00
ccid-card-emulated.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
ccid-card-passthru.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
ccid.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
chipidea.c
combined-packet.c
core.c usb: fix setup_len init (CVE-2020-14364) 2020-08-31 08:23:39 +02:00
desc-msos.c
desc.c
desc.h
dev-audio.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
dev-hid.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
dev-hub.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
dev-mtp.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
dev-network.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
dev-serial.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
dev-smartcard-reader.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
dev-storage.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
dev-uas.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
dev-wacom.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
hcd-dwc2.c hcd-dwc2: Rename USB_*CLASS macros for consistency 2020-08-27 14:04:54 -04:00
hcd-dwc2.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
hcd-ehci-pci.c
hcd-ehci-sysbus.c
hcd-ehci.c ehci: drop pointless warn_report for guest bugs. 2020-08-31 08:10:47 +02:00
hcd-ehci.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
hcd-musb.c
hcd-ohci-pci.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
hcd-ohci.c
hcd-ohci.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
hcd-uhci.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
hcd-xhci-nec.c
hcd-xhci.c hw: xhci: check return value of 'usb_packet_map' 2020-08-31 08:10:47 +02:00
hcd-xhci.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
host-libusb.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
host-stub.c
host.h
imx-usb-phy.c
Kconfig meson: Add U2F key to meson 2020-08-31 08:23:10 +02:00
libhw.c
meson.build hw/usb: Add U2F device autoscan to passthru mode 2020-08-31 08:23:39 +02:00
quirks-ftdi-ids.h
quirks-pl2303-ids.h
quirks.c
quirks.h
redirect.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
trace-events
trace.h
tusb6010.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
u2f-emulated.c hw/usb: Add U2F key emulated mode 2020-08-31 08:10:47 +02:00
u2f-passthru.c hw/usb: Add U2F device autoscan to passthru mode 2020-08-31 08:23:39 +02:00
u2f.c hw/usb: Add U2F key base class implementation 2020-08-31 08:10:47 +02:00
u2f.h hw/usb: Add U2F key base class 2020-08-31 08:10:47 +02:00
xen-usb.c