Clean up the only user of IPackBus::qbus field and rename it.
Acked-by: Alberto Garcia <[email protected]>
Signed-off-by: Andreas Färber <[email protected]>
---
hw/char/ipack.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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;
--
1.8.4.5