auxbus: New aux_bus_realize(), pairing with aux_bus_init()
commitb7a1b5483ee0179f0e5d31cf43678fa225227614
authorMarkus Armbruster <armbru@redhat.com>
Wed, 10 Jun 2020 05:32:21 +0000 (10 07:32 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 15 Jun 2020 20:05:28 +0000 (15 22:05 +0200)
tree85d76ecd34fda42f1f2f8871c30afbcac4c40945
parentdbe4070e59ab86f4a25de9cd12ed56f9eb68049b
auxbus: New aux_bus_realize(), pairing with aux_bus_init()

aux_bus_init() encapsulates the creation of an aux-bus and its
aux-to-i2c-bridge device.

Create aux_bus_realize() to similarly encapsulate their realization.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20200610053247.1583243-33-armbru@redhat.com>
hw/display/xlnx_dp.c
hw/misc/auxbus.c
include/hw/misc/auxbus.h