]> git.proxmox.com Git - mirror_qemu.git/commitdiff
ipack: QOM parent field cleanup for IPackBus
authorAndreas Färber <afaerber@suse.de>
Thu, 1 Aug 2013 16:47:34 +0000 (18:47 +0200)
committerAndreas Färber <afaerber@suse.de>
Fri, 14 Feb 2014 20:07:20 +0000 (21:07 +0100)
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>
hw/char/ipack.h

index b62066fca7ba02f602a5e554537911d628313379..a386b88bafeb3efb33c79c7a6859e81282c723d8 100644 (file)
@@ -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;