OSDN Git Service

ipack: QOM parent field cleanup for IPackDevice
authorAndreas Färber <afaerber@suse.de>
Thu, 1 Aug 2013 16:48:28 +0000 (18:48 +0200)
committerAndreas Färber <afaerber@suse.de>
Fri, 14 Feb 2014 20:07:20 +0000 (21:07 +0100)
Rename the IPackDevice::qdev field to avoid accidental use.

Acked-by: Alberto Garcia <agarcia@igalia.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/char/ipack.h

index a386b88..e95ffe8 100644 (file)
@@ -64,7 +64,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;