On Mon, Aug 24, 2020 at 2:58 PM Eduardo Habkost <[email protected]> wrote: > > This makes the code consistent with the rest of QOM code in QEMU, > and will make automated conversion to type declaration macros > simpler. > > Signed-off-by: Eduardo Habkost <[email protected]>
Reviewed-by: Alistair Francis <[email protected]> Alistair > --- > Cc: "Edgar E. Iglesias" <[email protected]> > Cc: Alistair Francis <[email protected]> > Cc: Peter Maydell <[email protected]> > Cc: [email protected] > Cc: [email protected] > --- > hw/dma/xilinx_axidma.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/hw/dma/xilinx_axidma.c b/hw/dma/xilinx_axidma.c > index a4812e480a..5ad8bd3d2e 100644 > --- a/hw/dma/xilinx_axidma.c > +++ b/hw/dma/xilinx_axidma.c > @@ -634,7 +634,7 @@ static const TypeInfo axidma_info = { > static const TypeInfo xilinx_axidma_data_stream_info = { > .name = TYPE_XILINX_AXI_DMA_DATA_STREAM, > .parent = TYPE_OBJECT, > - .instance_size = sizeof(struct XilinxAXIDMAStreamSlave), > + .instance_size = sizeof(XilinxAXIDMAStreamSlave), > .class_init = xilinx_axidma_stream_class_init, > .class_data = &xilinx_axidma_data_stream_class, > .interfaces = (InterfaceInfo[]) { > @@ -646,7 +646,7 @@ static const TypeInfo xilinx_axidma_data_stream_info = { > static const TypeInfo xilinx_axidma_control_stream_info = { > .name = TYPE_XILINX_AXI_DMA_CONTROL_STREAM, > .parent = TYPE_OBJECT, > - .instance_size = sizeof(struct XilinxAXIDMAStreamSlave), > + .instance_size = sizeof(XilinxAXIDMAStreamSlave), > .class_init = xilinx_axidma_stream_class_init, > .class_data = &xilinx_axidma_control_stream_class, > .interfaces = (InterfaceInfo[]) { > -- > 2.26.2 > >
