diff options
| author | Peter Maydell | 2018-03-13 16:34:53 +0100 |
|---|---|---|
| committer | Peter Maydell | 2018-03-19 19:23:24 +0100 |
| commit | 3d260cf3c6375c641106c71dd6cf9b638b73847b (patch) | |
| tree | c96c591e1d5ba4b2d3c500caed8667aa457a5ef3 /include | |
| parent | hw/arm/boot: If booting a kernel in EL2, set SCR_EL3.HCE (diff) | |
| download | qemu-3d260cf3c6375c641106c71dd6cf9b638b73847b.tar.gz qemu-3d260cf3c6375c641106c71dd6cf9b638b73847b.tar.xz qemu-3d260cf3c6375c641106c71dd6cf9b638b73847b.zip | |
hw/arm/bcm2386: Fix parent type of bcm2386
The TypeInfo and state struct for bcm2386 disagree about what the
parent class is -- the TypeInfo says it's TYPE_SYS_BUS_DEVICE,
but the BCM2386State struct only defines the parent_obj field
as DeviceState. This would have caused problems if anything
actually tried to treat the object as a TYPE_SYS_BUS_DEVICE.
Fix the TypeInfo to use TYPE_DEVICE as the parent, since we don't
need any of the additional functionality TYPE_SYS_BUS_DEVICE
provides.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Andrew Baumann <Andrew.Baumann@microsoft.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20180313153458.26822-5-peter.maydell@linaro.org
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
