diff options
author | Mark Cave-Ayland | 2021-09-24 09:38:04 +0200 |
---|---|---|
committer | Laurent Vivier | 2021-09-29 10:45:19 +0200 |
commit | d585d89de172bbfaa4a2331c882c46ed186ede2a (patch) | |
tree | 6d67a3f30c88ff18e348372f7f7ed97389386dd0 /include/hw/nubus/nubus.h | |
parent | nubus: move NubusBus from mac-nubus-bridge to nubus-bridge (diff) | |
download | qemu-d585d89de172bbfaa4a2331c882c46ed186ede2a.tar.gz qemu-d585d89de172bbfaa4a2331c882c46ed186ede2a.tar.xz qemu-d585d89de172bbfaa4a2331c882c46ed186ede2a.zip |
nubus-bridge: embed the NubusBus object directly within nubus-bridge
Since nubus-bridge is a container for NubusBus then it should be embedded
directly within the bridge device using qbus_create_inplace().
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20210924073808.1041-17-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'include/hw/nubus/nubus.h')
-rw-r--r-- | include/hw/nubus/nubus.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/nubus/nubus.h b/include/hw/nubus/nubus.h index 2d00d18150..63c69a7586 100644 --- a/include/hw/nubus/nubus.h +++ b/include/hw/nubus/nubus.h @@ -63,7 +63,7 @@ struct NubusDevice { struct NubusBridge { SysBusDevice parent_obj; - NubusBus *bus; + NubusBus bus; }; #endif |