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:Hao Wu <wuhaotsh@google.com> Reviewed-by:
Peter Maydell <peter.maydell@linaro.org> Message-id: 20210108190945.949196-7-wuhaotsh@google.com Signed-off-by:
Peter Maydell <peter.maydell@linaro.org>
Showing
- hw/arm/npcm7xx_boards.c 1 addition, 1 deletionhw/arm/npcm7xx_boards.c
- hw/mem/npcm7xx_mc.c 1 addition, 1 deletionhw/mem/npcm7xx_mc.c
- hw/misc/npcm7xx_clk.c 1 addition, 1 deletionhw/misc/npcm7xx_clk.c
- hw/misc/npcm7xx_gcr.c 1 addition, 1 deletionhw/misc/npcm7xx_gcr.c
- hw/misc/npcm7xx_rng.c 1 addition, 1 deletionhw/misc/npcm7xx_rng.c
- hw/nvram/npcm7xx_otp.c 1 addition, 1 deletionhw/nvram/npcm7xx_otp.c
- hw/ssi/npcm7xx_fiu.c 1 addition, 1 deletionhw/ssi/npcm7xx_fiu.c
Loading
Please register or sign in to comment