summaryrefslogtreecommitdiffstats
path: root/hw/char/ipack.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-08-01 18:48:28 +0200
committerAndreas Färber <afaerber@suse.de>2014-02-14 21:07:20 +0100
commit227d32725216723ffa99f0eb43c97f933e1da5b4 (patch)
tree5479eda32f328c1983b53b7629dedca3f77084d6 /hw/char/ipack.h
parenta21ac343d10141803483ec1097b2f1c3b3b4bd42 (diff)
downloadhqemu-227d32725216723ffa99f0eb43c97f933e1da5b4.zip
hqemu-227d32725216723ffa99f0eb43c97f933e1da5b4.tar.gz
ipack: QOM parent field cleanup for IPackDevice
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>
Diffstat (limited to 'hw/char/ipack.h')
-rw-r--r--hw/char/ipack.h5
1 files changed, 4 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud