diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2020-07-03 16:59:46 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2020-07-03 16:59:46 +0100 |
commit | 62a4d34020197e16e54ec79f7991a6acaedfecf6 (patch) | |
tree | 34b357526000120bfa5da92909722e3c06002146 /hw/Makefile.objs | |
parent | e53652ebeaba50e4cc54608ac5e2fe1b8b8717dc (diff) |
hw/arm/spitz: Provide usual QOM macros for corgi-ssp and spitz-lcdtg
The QOM types "spitz-lcdtg" and "corgi-ssp" are missing the
usual QOM TYPE and casting macros; provide and use them.
In particular, we can safely use the QOM cast macros instead of
FROM_SSI_SLAVE() because in both cases the 'ssidev' field of
the instance state struct is the first field in it.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20200628142429.17111-17-peter.maydell@linaro.org
Diffstat (limited to 'hw/Makefile.objs')
0 files changed, 0 insertions, 0 deletions