Skip to content
Snippets Groups Projects
Commit 828d651c authored by Hao Wu's avatar Hao Wu Committed by Peter Maydell
Browse files

hw/*: Use type casting for SysBusDevice in NPCM7XX


A device shouldn't access its parent object which is QOM internal.
Instead it should use type cast for this purporse. This patch fixes this
issue for all NPCM7XX Devices.

Signed-off-by: default avatarHao Wu <wuhaotsh@google.com>
Reviewed-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Message-id: 20210108190945.949196-7-wuhaotsh@google.com
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
parent 73314f13
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment