On Mon, Aug 24, 2020 at 3:02 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: Jason Wang <[email protected]> > Cc: [email protected] > Cc: [email protected] > --- > hw/net/xilinx_axienet.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/hw/net/xilinx_axienet.c b/hw/net/xilinx_axienet.c > index 1e48eb70c9..ceb4652938 100644 > --- a/hw/net/xilinx_axienet.c > +++ b/hw/net/xilinx_axienet.c > @@ -1069,7 +1069,7 @@ static const TypeInfo xilinx_enet_info = { > static const TypeInfo xilinx_enet_data_stream_info = { > .name = TYPE_XILINX_AXI_ENET_DATA_STREAM, > .parent = TYPE_OBJECT, > - .instance_size = sizeof(struct XilinxAXIEnetStreamSlave), > + .instance_size = sizeof(XilinxAXIEnetStreamSlave), > .class_init = xilinx_enet_data_stream_class_init, > .interfaces = (InterfaceInfo[]) { > { TYPE_STREAM_SLAVE }, > @@ -1080,7 +1080,7 @@ static const TypeInfo xilinx_enet_data_stream_info = { > static const TypeInfo xilinx_enet_control_stream_info = { > .name = TYPE_XILINX_AXI_ENET_CONTROL_STREAM, > .parent = TYPE_OBJECT, > - .instance_size = sizeof(struct XilinxAXIEnetStreamSlave), > + .instance_size = sizeof(XilinxAXIEnetStreamSlave), > .class_init = xilinx_enet_control_stream_class_init, > .interfaces = (InterfaceInfo[]) { > { TYPE_STREAM_SLAVE }, > -- > 2.26.2 > >
