qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 173/173] sysbus: QOM parent field cleanup for SysBusD


From: Andreas Färber
Subject: [Qemu-devel] [PULL 173/173] sysbus: QOM parent field cleanup for SysBusDevice
Date: Mon, 29 Jul 2013 21:20:30 +0200

Rename the parent field and hide it from gtk-doc.

Signed-off-by: Andreas Färber <address@hidden>
---
 include/hw/sysbus.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/include/hw/sysbus.h b/include/hw/sysbus.h
index f1d1c5e..bb50a87 100644
--- a/include/hw/sysbus.h
+++ b/include/hw/sysbus.h
@@ -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];
-- 
1.8.1.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]