[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 29/34] xilinx_axidma: Use typedef name for instance_size
From: |
Eduardo Habkost |
Subject: |
[PULL 29/34] xilinx_axidma: Use typedef name for instance_size |
Date: |
Tue, 8 Sep 2020 16:01:18 -0400 |
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 <ehabkost@redhat.com>
Message-Id: <20200824215936.2961951-2-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
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 f313453495..498fc17d8a 100644
--- a/hw/dma/xilinx_axidma.c
+++ b/hw/dma/xilinx_axidma.c
@@ -633,7 +633,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[]) {
@@ -645,7 +645,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
- [PULL 03/34] qom: provide convenient macros for declaring and defining types, (continued)
- [PULL 03/34] qom: provide convenient macros for declaring and defining types, Eduardo Habkost, 2020/09/08
- [PULL 20/34] ahci: Rename ICH_AHCI to ICH9_AHCI, Eduardo Habkost, 2020/09/08
- [PULL 18/34] vfio: Rename VFIO_AP_DEVICE_TYPE to TYPE_VFIO_AP_DEVICE, Eduardo Habkost, 2020/09/08
- [PULL 24/34] sabre: Rename SABRE_DEVICE to SABRE, Eduardo Habkost, 2020/09/08
- [PULL 21/34] esp: Rename ESP_STATE to ESP, Eduardo Habkost, 2020/09/08
- [PULL 23/34] rs6000_mc: Rename RS6000MC_DEVICE to RS6000MC, Eduardo Habkost, 2020/09/08
- [PULL 15/34] chardev: Rename TYPE_CHARDEV_* to TYPE_*_CHARDEV, Eduardo Habkost, 2020/09/08
- [PULL 22/34] filter-rewriter: Rename FILTER_COLO_REWRITER to FILTER_REWRITER, Eduardo Habkost, 2020/09/08
- [PULL 25/34] usb: Rename USB_SERIAL_DEV to USB_SERIAL, Eduardo Habkost, 2020/09/08
- [PULL 28/34] tusb6010: Rename TUSB to TUSB6010, Eduardo Habkost, 2020/09/08
- [PULL 29/34] xilinx_axidma: Use typedef name for instance_size,
Eduardo Habkost <=
- [PULL 26/34] vfio: Rename PCI_VFIO to VFIO_PCI, Eduardo Habkost, 2020/09/08
- [PULL 31/34] lpc_ich9: Use typedef name for instance_size, Eduardo Habkost, 2020/09/08
- [PULL 30/34] omap_intc: Use typedef name for instance_size, Eduardo Habkost, 2020/09/08
- [PULL 27/34] pc87312: Rename TYPE_PC87312_SUPERIO to TYPE_PC87312, Eduardo Habkost, 2020/09/08
- [PULL 33/34] vhost-user-vga: Use typedef name for instance_size, Eduardo Habkost, 2020/09/08
- [PULL 34/34] virtio-vga: Use typedef name for instance_size, Eduardo Habkost, 2020/09/08
- [PULL 09/34] Move QOM typedefs and add missing includes, Eduardo Habkost, 2020/09/08
- [PULL 32/34] xilinx_axienet: Use typedef name for instance_size, Eduardo Habkost, 2020/09/08
- Re: [PULL 00/34] QOM boilerplate cleanup (v2), Peter Maydell, 2020/09/08