aboutsummaryrefslogtreecommitdiff
path: root/include/hw/sysbus.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-07-27 16:40:42 +0200
committerAndreas Färber <afaerber@suse.de>2013-07-29 21:07:03 +0200
commitb67964d70219a864ec427e727754a205475c7d6c (patch)
tree10d359f7bec5918dd1fc6d9a445213f3019d1929 /include/hw/sysbus.h
parent38fb090a80bc8884ff1874b827ccc9a160102f9d (diff)
sysbus: QOM parent field cleanup for SysBusDevice
Rename the parent field and hide it from gtk-doc. Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include/hw/sysbus.h')
-rw-r--r--include/hw/sysbus.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/hw/sysbus.h b/include/hw/sysbus.h
index f1d1c5ede6..bb50a877cc 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];