summaryrefslogtreecommitdiff
path: root/hw/char
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-08-01 18:47:34 +0200
committerAndreas Färber <afaerber@suse.de>2014-02-14 21:07:20 +0100
commita21ac343d10141803483ec1097b2f1c3b3b4bd42 (patch)
tree5fe8675ef4c9b3a1b8cd08d6a0804beae1e47a03 /hw/char
parent5c570902559fbc113154e545c4b0749cd4318b1d (diff)
downloadqemu-a21ac343d10141803483ec1097b2f1c3b3b4bd42.tar.gz
ipack: QOM parent field cleanup for IPackBus
Clean up the only user of IPackBus::qbus field and rename it. Acked-by: Alberto Garcia <agarcia@igalia.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/char')
-rw-r--r--hw/char/ipack.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/char/ipack.h b/hw/char/ipack.h
index b62066fca7..a386b88baf 100644
--- a/hw/char/ipack.h
+++ b/hw/char/ipack.h
@@ -19,7 +19,9 @@ typedef struct IPackBus IPackBus;
#define IPACK_BUS(obj) OBJECT_CHECK(IPackBus, (obj), TYPE_IPACK_BUS)
struct IPackBus {
- BusState qbus;
+ /*< private >*/
+ BusState parent_obj;
+
/* All fields are private */
uint8_t n_slots;
uint8_t free_slot;