diff mbox

[PULL,v2,31/49] ipack: QOM parent field cleanup for IPackDevice

Message ID 1392675899-21210-32-git-send-email-afaerber@suse.de
State New
Headers show

Commit Message

Andreas Färber Feb. 17, 2014, 10:24 p.m. UTC
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 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/hw/char/ipack.h b/hw/char/ipack.h
index a386b88..e95ffe8 100644
--- a/hw/char/ipack.h
+++ b/hw/char/ipack.h
@@ -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;