summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorxiaoqiang zhao <zxq_yx_007@163.com>2013-12-18 18:21:46 +0100
committerAndreas Färber <afaerber@suse.de>2013-12-24 18:02:18 +0100
commit494c271784a5e360523e874be9f67259932ea68c (patch)
tree158660ed25c28f1cd6967b3784b35b193ccc3edc /include
parentff6986ce618c69f988e4419efd67ea5cbf7792a5 (diff)
downloadqemu-494c271784a5e360523e874be9f67259932ea68c.tar.gz
qemu-494c271784a5e360523e874be9f67259932ea68c.tar.bz2
qemu-494c271784a5e360523e874be9f67259932ea68c.zip
icc_bus: QOM'ify ICC
For consistency, QOM'ify APIC's parent bus. Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/hw/cpu/icc_bus.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/cpu/icc_bus.h b/include/hw/cpu/icc_bus.h
index b5500708dc..98a979fa1c 100644
--- a/include/hw/cpu/icc_bus.h
+++ b/include/hw/cpu/icc_bus.h
@@ -66,7 +66,7 @@ typedef struct ICCDeviceClass {
DeviceClass parent_class;
/*< public >*/
- int (*init)(ICCDevice *dev); /* TODO replace with QOM realize */
+ DeviceRealize realize;
} ICCDeviceClass;
#define TYPE_ICC_DEVICE "icc-device"