aboutsummaryrefslogtreecommitdiff
path: root/hw/ide/ahci.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-06-30 14:19:24 +0200
committerAndreas Färber <afaerber@suse.de>2013-07-23 00:37:33 +0200
commit0d3aea5603215b872b6580662d27860eecd6ca24 (patch)
tree7627900a613eb288e611cc85fcfb28bd0705f37b /hw/ide/ahci.h
parentfd58922cf4ea09c8dbd2d46dd61e50e6559bf447 (diff)
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>
Diffstat (limited to 'hw/ide/ahci.h')
-rw-r--r--hw/ide/ahci.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/hw/ide/ahci.h b/hw/ide/ahci.h
index f997c673b2..20e412c240 100644
--- a/hw/ide/ahci.h
+++ b/hw/ide/ahci.h
@@ -301,7 +301,10 @@ typedef struct AHCIState {
} AHCIState;
typedef struct AHCIPCIState {
- PCIDevice card;
+ /*< private >*/
+ PCIDevice parent_obj;
+ /*< public >*/
+
AHCIState ahci;
} AHCIPCIState;