summaryrefslogtreecommitdiffstats
path: root/include/hw/nubus
diff options
context:
space:
mode:
authorMark Cave-Ayland2021-09-24 09:38:04 +0200
committerLaurent Vivier2021-09-29 10:45:19 +0200
commitd585d89de172bbfaa4a2331c882c46ed186ede2a (patch)
tree6d67a3f30c88ff18e348372f7f7ed97389386dd0 /include/hw/nubus
parentnubus: move NubusBus from mac-nubus-bridge to nubus-bridge (diff)
downloadqemu-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')
-rw-r--r--include/hw/nubus/nubus.h2
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