qemu-patch-raspberry4/include/hw/i2c
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
..
arm_sbcon_i2c.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
aspeed_i2c.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
bitbang_i2c.h hw/i2c/bitbang_i2c: Use in-place rather than malloc'd bitbang_i2c_interface struct 2019-07-03 10:51:35 +02:00
i2c.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
imx_i2c.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
microbit_i2c.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
pm_smbus.h Include exec/memory.h slightly less 2019-08-16 13:31:52 +02:00
ppc4xx_i2c.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
smbus_eeprom.h smbus: Fix spd_data_generate() error API violation 2020-04-29 08:01:52 +02:00
smbus_master.h i2c: Split smbus into parts 2019-02-27 21:06:08 -06:00
smbus_slave.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00