diff options
author | Andreas Färber <afaerber@suse.de> | 2013-08-01 18:47:34 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2014-02-14 21:07:20 +0100 |
commit | a21ac343d10141803483ec1097b2f1c3b3b4bd42 (patch) | |
tree | 5fe8675ef4c9b3a1b8cd08d6a0804beae1e47a03 | |
parent | 5c570902559fbc113154e545c4b0749cd4318b1d (diff) | |
download | qemu-a21ac343d10141803483ec1097b2f1c3b3b4bd42.zip qemu-a21ac343d10141803483ec1097b2f1c3b3b4bd42.tar.gz qemu-a21ac343d10141803483ec1097b2f1c3b3b4bd42.tar.bz2 |
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>
-rw-r--r-- | hw/char/ipack.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/char/ipack.h b/hw/char/ipack.h index b62066f..a386b88 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; |