summary refs log tree commit diff stats
path: root/hw/misc/mac_via.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2020-06-09 14:23:22 +0200
committerMarkus Armbruster <armbru@redhat.com>2020-06-15 21:36:09 +0200
commit6b888ee28c8801b346eb41655b36207a28ce146b (patch)
treed5aa3a4db674ea23d48a0bc98f387474058eceb8 /hw/misc/mac_via.c
parent210d18674a34bb43bd05cdd68d24fd03e161ff3d (diff)
downloadfocaccia-qemu-6b888ee28c8801b346eb41655b36207a28ce146b.tar.gz
focaccia-qemu-6b888ee28c8801b346eb41655b36207a28ce146b.zip
auxbus: Fix aux-to-i2c-bridge to be a subtype of aux-slave
We plug aux-to-i2c-bridge into the aux-bus, even though its
DeviceClass member bus_type is null, not TYPE_AUX_BUS.  Fix that by
deriving it from TYPE_AUX_SLAVE instead of TYPE_DEVICE.

Cc: KONRAD Frederic <fred.konrad@greensocs.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200609122339.937862-8-armbru@redhat.com>
Diffstat (limited to 'hw/misc/mac_via.c')
0 files changed, 0 insertions, 0 deletions