diff options
author | Peter Crosthwaite <peter.crosthwaite@xilinx.com> | 2014-02-11 16:30:10 -0800 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2014-03-12 20:13:02 +0100 |
commit | 1f760d5f2bbe89685f2fe4b12a898c26196d3a1e (patch) | |
tree | b3c111cae12d7b71f98b46f426386f7cf0dd5199 /include/hw/ssi.h | |
parent | 7c77b654c5371e970bc3190afe8dc85bc4f2c8ff (diff) | |
download | hqemu-1f760d5f2bbe89685f2fe4b12a898c26196d3a1e.zip hqemu-1f760d5f2bbe89685f2fe4b12a898c26196d3a1e.tar.gz |
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.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/hw/ssi.h b/include/hw/ssi.h index fdae317..6c13fb2 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; |