From: Andreas Färber Date: Thu, 1 Aug 2013 16:48:28 +0000 (+0200) Subject: ipack: QOM parent field cleanup for IPackDevice X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=227d32725216723ffa99f0eb43c97f933e1da5b4;p=qemu.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;