mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
ide/ich: QOM parent field cleanup
Replace direct uses of AHCIPCIState::card with QOM casts and rename it to parent_obj. Acked-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
fd58922cf4
commit
0d3aea5603
3 changed files with 21 additions and 17 deletions
|
@ -301,7 +301,10 @@ typedef struct AHCIState {
|
|||
} AHCIState;
|
||||
|
||||
typedef struct AHCIPCIState {
|
||||
PCIDevice card;
|
||||
/*< private >*/
|
||||
PCIDevice parent_obj;
|
||||
/*< public >*/
|
||||
|
||||
AHCIState ahci;
|
||||
} AHCIPCIState;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue