qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 31/48] ipack: QOM parent field cleanup for IPackDevic


From: Andreas Färber
Subject: [Qemu-devel] [PULL 31/48] ipack: QOM parent field cleanup for IPackDevice
Date: Mon, 10 Feb 2014 19:36:48 +0100

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

Acked-by: Alberto Garcia <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>
---
 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 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;
-- 
1.8.4.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]