summaryrefslogtreecommitdiffstats
path: root/include/hw/cpu
diff options
context:
space:
mode:
authorxiaoqiang zhao2013-12-18 18:21:46 +0100
committerAndreas Färber2013-12-24 18:02:18 +0100
commit494c271784a5e360523e874be9f67259932ea68c (patch)
tree158660ed25c28f1cd6967b3784b35b193ccc3edc /include/hw/cpu
parentapic: QOM'ify APIC (diff)
downloadqemu-494c271784a5e360523e874be9f67259932ea68c.tar.gz
qemu-494c271784a5e360523e874be9f67259932ea68c.tar.xz
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/hw/cpu')
-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"