From: Andreas Färber Date: Thu, 1 Aug 2013 16:48:28 +0000 (+0200) Subject: ipack: QOM parent field cleanup for IPackDevice X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~386^2~42^2~167^2~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=227d32725216723ffa99f0eb43c97f933e1da5b4;p=sdk%2Femulator%2Fqemu.git ipack: QOM parent field cleanup for IPackDevice Rename the IPackDevice::qdev field to avoid accidental use. Acked-by: Alberto Garcia Signed-off-by: Andreas Färber --- 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;