Rename the IPackDevice::qdev field to avoid accidental use.

Signed-off-by: Andreas Färber <afaer...@suse.de>
---
 hw/char/ipack.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/hw/char/ipack.h b/hw/char/ipack.h
index 03b07f0..080767f 100644
--- a/hw/char/ipack.h
+++ b/hw/char/ipack.h
@@ -61,7 +61,10 @@ struct IPackDeviceClass {
 };
 
 struct IPackDevice {
-    DeviceState qdev;
+    /*< private >*/
+    DeviceState parent_obj;
+    /*< public >*/
+
     int32_t slot;
     /* IRQ objects for the IndustryPack INT0# and INT1# */
     qemu_irq *irq;
-- 
1.8.1.4


Reply via email to