diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2013-03-05 00:34:42 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2013-03-05 00:45:19 +0000 |
commit | 53111180946a56d314a9c1d07d09b9ef91e847b9 (patch) | |
tree | a64befe7c9fac3a81076692231051c17a26db01d /hw/arm_gic_internal.h | |
parent | 9ecb992674cec86091b4fce3bd66faee8b56b165 (diff) |
hw/arm_gic: Convert ARM GIC classes to use init/realize
Convert the ARM GIC classes to use init/realize rather than
SysBusDevice::init. (We have to do them all in one patch to
avoid unconverted subclasses calling a nonexistent SysBusDevice
init function in the base class and crashing.)
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/arm_gic_internal.h')
-rw-r--r-- | hw/arm_gic_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm_gic_internal.h b/hw/arm_gic_internal.h index 3640be0031..3ba37f30f5 100644 --- a/hw/arm_gic_internal.h +++ b/hw/arm_gic_internal.h @@ -132,7 +132,7 @@ typedef struct ARMGICCommonClass { typedef struct ARMGICClass { ARMGICCommonClass parent_class; - int (*parent_init)(SysBusDevice *dev); + DeviceRealize parent_realize; } ARMGICClass; #endif /* !QEMU_ARM_GIC_INTERNAL_H */ |