]> git.proxmox.com Git - mirror_qemu.git/commit - hw/arm/aspeed_ast2600.c
aspeed/smc: Drop AspeedSMCController structure
authorCédric Le Goater <clg@kaod.org>
Tue, 12 Oct 2021 06:20:08 +0000 (08:20 +0200)
committerCédric Le Goater <clg@kaod.org>
Tue, 12 Oct 2021 06:20:08 +0000 (08:20 +0200)
commit30b6852ce4c3398c54fc6f6c7ff5ccbf8c15cf4f
tree2ceed7e6a2e86a393c18092f59012cc205bde77c
parentd0180a3ae48f71d4cb5b9cea89b49451e2dc9a47
aspeed/smc: Drop AspeedSMCController structure

The characteristics of the Aspeed controllers are described in a
AspeedSMCController structure which is redundant with the
AspeedSMCClass. Move all attributes under the class and adapt the code
to use class attributes instead.

This is a large change but it is functionally equivalent.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/arm/aspeed_ast2600.c
hw/arm/aspeed_soc.c
hw/ssi/aspeed_smc.c
include/hw/ssi/aspeed_smc.h