summary refs log tree commit diff stats
path: root/hw/pci-host/raven.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-01-24 18:46:27 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-06-10 10:58:59 +0200
commit65561d9393cfa21eb696bb759122641a569de63a (patch)
treebd0da20e37dfac78cfae47789e5286011d54bce6 /hw/pci-host/raven.c
parenta5844ea5530b664ea70852418fb751d63c15dba5 (diff)
downloadfocaccia-qemu-65561d9393cfa21eb696bb759122641a569de63a.tar.gz
focaccia-qemu-65561d9393cfa21eb696bb759122641a569de63a.zip
hw/char/sh_serial: Convert to TypeInfo
QOM types are now registered using as TypeInfo via DEFINE_TYPES()
or type_init(). Update TYPE_SH_SERIAL, removing the empty QOM
instance_init/finalize handlers.

This was definitely wrong, because OBJECT_DEFINE_TYPE() is only
for cases where the class needs its own virtual methods or some
other per-class state in its own class struct.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20250124175053.74461-3-philmd@linaro.org>
Diffstat (limited to 'hw/pci-host/raven.c')
0 files changed, 0 insertions, 0 deletions