diff options
Diffstat (limited to 'hw/pci_host.h')
-rw-r--r-- | hw/pci_host.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/hw/pci_host.h b/hw/pci_host.h index 757b0e2..0465e02 100644 --- a/hw/pci_host.h +++ b/hw/pci_host.h @@ -34,11 +34,10 @@ do { printf("pci_host_data: " fmt , ## __VA_ARGS__); } while (0) #else #define PCI_DPRINTF(fmt, ...) #endif - -typedef struct { +struct PCIHostState { uint32_t config_reg; PCIBus *bus; -} PCIHostState; +}; static void pci_host_data_writeb(void* opaque, pci_addr_t addr, uint32_t val) { |