qemu-e2k/hw/input
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
..
adb-internal.h Supply missing header guards 2019-06-12 13:20:21 +02:00
adb-kbd.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
adb-mouse.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
adb.c adb: Correct class size on TYPE_ADB_DEVICE 2020-09-08 10:08:42 +10:00
hid.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
Kconfig hw/input: Do not enable CONFIG_PCKBD by default 2020-02-04 09:01:31 +01:00
lasips2.c hppa: add emulation of LASI PS2 controllers 2020-01-27 10:49:51 -08:00
lm832x.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
meson.build meson: convert hw/input 2020-08-21 06:30:30 -04:00
milkymist-softusb.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
pckbd.c pckbd: Move QOM macro to header 2020-08-27 14:04:54 -04:00
pl050.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
ps2.c hppa: add emulation of LASI PS2 controllers 2020-01-27 10:49:51 -08:00
pxa2xx_keypad.c hw: Remove superfluous breaks 2020-09-01 08:38:00 +02:00
stellaris_input.c migration: Define VMSTATE_INSTANCE_ID_ANY 2020-01-20 09:10:23 +01:00
trace-events adb: add ADB bus trace events 2020-06-26 10:13:52 +01:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
tsc210x.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
tsc2005.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
vhost-user-input.c qom: Drop parameter @errp of object_property_add() & friends 2020-05-15 07:07:58 +02:00
virtio-input-hid.c hw/input/virtio-input-hid.c: Don't undef CONFIG_CURSES 2020-07-24 16:15:28 +02:00
virtio-input-host.c qdev: Unrealize must not fail 2020-05-15 07:08:14 +02:00
virtio-input.c qdev: Unrealize must not fail 2020-05-15 07:08:14 +02:00