mirror of
https://github.com/qemu/qemu.git
synced 2025-08-01 02:05:48 +00:00
s390-pci: fix compilation on older GCC versions
S390PCIBusDevice is typedef'ed earlier in the file, before the hunks that this patch modifies. The double typedef causes old versions of GCC to complain. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <1485523252-88288-1-git-send-email-pbonzini@redhat.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
This commit is contained in:
parent
a0def59428
commit
2034ee5152
@ -279,7 +279,7 @@ typedef struct S390PCIIOMMUTable {
|
|||||||
S390PCIIOMMU *iommu[PCI_SLOT_MAX];
|
S390PCIIOMMU *iommu[PCI_SLOT_MAX];
|
||||||
} S390PCIIOMMUTable;
|
} S390PCIIOMMUTable;
|
||||||
|
|
||||||
typedef struct S390PCIBusDevice {
|
struct S390PCIBusDevice {
|
||||||
DeviceState qdev;
|
DeviceState qdev;
|
||||||
PCIDevice *pdev;
|
PCIDevice *pdev;
|
||||||
ZpciState state;
|
ZpciState state;
|
||||||
@ -301,7 +301,7 @@ typedef struct S390PCIBusDevice {
|
|||||||
IndAddr *indicator;
|
IndAddr *indicator;
|
||||||
QEMUTimer *release_timer;
|
QEMUTimer *release_timer;
|
||||||
QTAILQ_ENTRY(S390PCIBusDevice) link;
|
QTAILQ_ENTRY(S390PCIBusDevice) link;
|
||||||
} S390PCIBusDevice;
|
};
|
||||||
|
|
||||||
typedef struct S390PCIBus {
|
typedef struct S390PCIBus {
|
||||||
BusState qbus;
|
BusState qbus;
|
||||||
|
Loading…
Reference in New Issue
Block a user