aboutsummaryrefslogtreecommitdiff
path: root/include/hw/ssi.h
diff options
context:
space:
mode:
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>2014-02-11 16:30:10 -0800
committerAndreas Färber <afaerber@suse.de>2014-03-12 20:13:02 +0100
commit1f760d5f2bbe89685f2fe4b12a898c26196d3a1e (patch)
treeb3c111cae12d7b71f98b46f426386f7cf0dd5199 /include/hw/ssi.h
parent7c77b654c5371e970bc3190afe8dc85bc4f2c8ff (diff)
ssi: Remove SSI_SLAVE_FROM_QDEV() macro
There are no usages left of this legacy cast. Delete. Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> [AF: Rename SSISlave parent field] Signed-off-by: Andreas Färber <afaerber@suse.de> ssi: Rename parent field
Diffstat (limited to 'include/hw/ssi.h')
-rw-r--r--include/hw/ssi.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/hw/ssi.h b/include/hw/ssi.h
index fdae317295..6c13fb2e44 100644
--- a/include/hw/ssi.h
+++ b/include/hw/ssi.h
@@ -56,13 +56,12 @@ typedef struct SSISlaveClass {
} SSISlaveClass;
struct SSISlave {
- DeviceState qdev;
+ DeviceState parent_obj;
/* Chip select state */
bool cs;
};
-#define SSI_SLAVE_FROM_QDEV(dev) DO_UPCAST(SSISlave, qdev, dev)
#define FROM_SSI_SLAVE(type, dev) DO_UPCAST(type, ssidev, dev)
extern const VMStateDescription vmstate_ssi_slave;