[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 28/33] xilinx_axidma: Use typedef name for instance_size
From: |
Eduardo Habkost |
Subject: |
[PULL 28/33] xilinx_axidma: Use typedef name for instance_size |
Date: |
Thu, 10 Sep 2020 14:21:07 -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 16/33] dev-smartcard-reader: Rename CCID_DEV_NAME to TYPE_USB_CCID_DEV, (continued)
- [PULL 16/33] dev-smartcard-reader: Rename CCID_DEV_NAME to TYPE_USB_CCID_DEV, Eduardo Habkost, 2020/09/10
- [PULL 19/33] ahci: Rename ICH_AHCI to ICH9_AHCI, Eduardo Habkost, 2020/09/10
- [PULL 18/33] vmgenid: Rename VMGENID_DEVICE to TYPE_VMGENID, Eduardo Habkost, 2020/09/10
- [PULL 27/33] tusb6010: Rename TUSB to TUSB6010, Eduardo Habkost, 2020/09/10
- [PULL 20/33] esp: Rename ESP_STATE to ESP, Eduardo Habkost, 2020/09/10
- [PULL 21/33] filter-rewriter: Rename FILTER_COLO_REWRITER to FILTER_REWRITER, Eduardo Habkost, 2020/09/10
- [PULL 10/33] Use DECLARE_*CHECKER* macros, Eduardo Habkost, 2020/09/10
- [PULL 23/33] sabre: Rename SABRE_DEVICE to SABRE, Eduardo Habkost, 2020/09/10
- [PULL 24/33] usb: Rename USB_SERIAL_DEV to USB_SERIAL, Eduardo Habkost, 2020/09/10
- [PULL 22/33] rs6000_mc: Rename RS6000MC_DEVICE to RS6000MC, Eduardo Habkost, 2020/09/10
- [PULL 28/33] xilinx_axidma: Use typedef name for instance_size,
Eduardo Habkost <=
- [PULL 29/33] omap_intc: Use typedef name for instance_size, Eduardo Habkost, 2020/09/10
- [PULL 25/33] vfio: Rename PCI_VFIO to VFIO_PCI, Eduardo Habkost, 2020/09/10
- [PULL 31/33] xilinx_axienet: Use typedef name for instance_size, Eduardo Habkost, 2020/09/10
- [PULL 30/33] lpc_ich9: Use typedef name for instance_size, Eduardo Habkost, 2020/09/10
- [PULL 26/33] pc87312: Rename TYPE_PC87312_SUPERIO to TYPE_PC87312, Eduardo Habkost, 2020/09/10
- [PULL 33/33] virtio-vga: Use typedef name for instance_size, Eduardo Habkost, 2020/09/10
- [PULL 32/33] vhost-user-vga: Use typedef name for instance_size, Eduardo Habkost, 2020/09/10
- [PULL 09/33] Move QOM typedefs and add missing includes, Eduardo Habkost, 2020/09/10
- Re: [PULL 00/33] QOM boilerplate cleanup (v4), Peter Maydell, 2020/09/11