diff options
author | Andreas Färber <afaerber@suse.de> | 2013-08-01 18:48:28 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2014-02-14 21:07:20 +0100 |
commit | 227d32725216723ffa99f0eb43c97f933e1da5b4 (patch) | |
tree | 5479eda32f328c1983b53b7629dedca3f77084d6 /hw/char | |
parent | a21ac343d10141803483ec1097b2f1c3b3b4bd42 (diff) |
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')
-rw-r--r-- | hw/char/ipack.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/hw/char/ipack.h b/hw/char/ipack.h index a386b88baf..e95ffe820d 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; |