qemu/hw/rtc
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
..
allwinner-rtc.c hw/arm/allwinner: add RTC device support 2020-03-12 16:27:33 +00:00
aspeed_rtc.c
ds1338.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
exynos4210_rtc.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
goldfish_rtc.c goldfish_rtc: Fix non-atomic read behaviour of TIME_LOW/TIME_HIGH 2020-07-22 09:39:46 -07:00
Kconfig hw: rtc: Add Goldfish RTC device 2020-02-10 12:01:37 -08:00
m41t80.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
m48t59-internal.h hw/timer/m48t59: Convert debug printf()s to trace events 2020-02-06 10:51:24 +01:00
m48t59-isa.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
m48t59.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
mc146818rtc.c isa: Convert uses of isa_create() with Coccinelle 2020-06-15 22:05:28 +02:00
meson.build meson: convert hw/rtc 2020-08-21 06:30:27 -04:00
pl031.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
sun4v-rtc.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
trace-events hw/arm/allwinner: add RTC device support 2020-03-12 16:27:33 +00:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
twl92230.c Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
xlnx-zynqmp-rtc.c