From: Andreas Färber Date: Thu, 1 Aug 2013 16:47:34 +0000 (+0200) Subject: ipack: QOM parent field cleanup for IPackBus X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a21ac343d10141803483ec1097b2f1c3b3b4bd42;p=qemu.git ipack: QOM parent field cleanup for IPackBus Clean up the only user of IPackBus::qbus field and rename it. Acked-by: Alberto Garcia Signed-off-by: Andreas Färber --- 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;