qemu/hw
Peter Maydell 62a4d34020 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
2020-07-03 16:59:46 +01:00
..
9pfs
acpi
adc
alpha
arm hw/arm/spitz: Provide usual QOM macros for corgi-ssp and spitz-lcdtg 2020-07-03 16:59:46 +01:00
audio
block
char
core qdev: Introduce DEFINE_PROP_RESERVED_REGION 2020-07-03 16:59:41 +01:00
cpu
cris
display hw/display/bcm2835_fb.c: Initialize all fields of struct 2020-07-03 16:59:43 +01:00
dma
gpio hw/gpio/zaurus.c: Use LOG_GUEST_ERROR for bad guest register accesses 2020-07-03 16:59:45 +01:00
hppa
hyperv
i2c
i386 amd_iommu: Fix amdvi_realize() error API violation 2020-07-02 11:54:47 +02:00
ide
input
intc
ipack
ipmi
isa
lm32
m68k
mem
microblaze
mips mips/cps: Fix mips_cps_realize() error API violations 2020-07-02 06:25:29 +02:00
misc hw/misc/max111x: Create header file for documentation, TYPE_ macros 2020-07-03 16:59:45 +01:00
moxie
net Add a phy-num property to the i.MX FEC emulator 2020-07-03 16:59:41 +01:00
nios2
nubus
nvram
openrisc
pci
pci-bridge
pci-host
pcmcia
ppc
rdma
riscv riscv_hart: Fix riscv_harts_realize() error API violations 2020-07-02 06:25:29 +02:00
rtc
rx
s390x
scsi
sd
semihosting
sh4
smbios
sparc
sparc64
ssi ssi: Add ssi_realize_and_unref() 2020-07-03 16:59:44 +01:00
timer
tpm
tricore
unicore32
usb
vfio
virtio virtio-iommu-pci: Add array of Interval properties 2020-07-03 16:59:42 +01:00
watchdog
xen
xenpv
xtensa
Kconfig
Makefile.objs