sysbus: QOM parent field cleanup for SysBusDevice
authorAndreas Färber <afaerber@suse.de>
Sat, 27 Jul 2013 14:40:42 +0000 (16:40 +0200)
committerAndreas Färber <afaerber@suse.de>
Mon, 29 Jul 2013 19:07:03 +0000 (21:07 +0200)
Rename the parent field and hide it from gtk-doc.

Signed-off-by: Andreas Färber <afaerber@suse.de>
include/hw/sysbus.h

index f1d1c5ede69c730446551207bf76c4a207da3564..bb50a877ccf56764c78d5c717451c51f64bf0ff7 100644 (file)
@@ -42,7 +42,10 @@ typedef struct SysBusDeviceClass {
 } SysBusDeviceClass;
 
 struct SysBusDevice {
-    DeviceState qdev;
+    /*< private >*/
+    DeviceState parent_obj;
+    /*< public >*/
+
     int num_irq;
     qemu_irq irqs[QDEV_MAX_IRQ];
     qemu_irq *irqp[QDEV_MAX_IRQ];