diff options
author | Cédric Le Goater <clg@kaod.org> | 2016-12-27 14:59:26 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-12-27 14:59:26 +0000 |
commit | 2d105bd6b58d83295310915f5503ef14d97f4c0f (patch) | |
tree | 1612f08541dcc98f1b243a686248f742076f70f5 /include | |
parent | e03192fd62d9d673b42e010f6fab3ef4cf44903e (diff) |
aspeed: QOMify the CPU object and attach it to the SoC
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Message-id: 1480434248-27138-4-git-send-email-clg@kaod.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/arm/aspeed_soc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/arm/aspeed_soc.h b/include/hw/arm/aspeed_soc.h index 5406b498d7..6f1b679c97 100644 --- a/include/hw/arm/aspeed_soc.h +++ b/include/hw/arm/aspeed_soc.h @@ -27,7 +27,7 @@ typedef struct AspeedSoCState { DeviceState parent; /*< public >*/ - ARMCPU *cpu; + ARMCPU cpu; MemoryRegion iomem; AspeedVICState vic; AspeedTimerCtrlState timerctrl; |