aboutsummaryrefslogtreecommitdiff
path: root/hw/pci_host.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pci_host.h')
-rw-r--r--hw/pci_host.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/pci_host.h b/hw/pci_host.h
index cf3a3393d9..a006687f8b 100644
--- a/hw/pci_host.h
+++ b/hw/pci_host.h
@@ -30,11 +30,11 @@
#include "sysbus.h"
-typedef struct {
+struct PCIHostState {
SysBusDevice busdev;
uint32_t config_reg;
PCIBus *bus;
-} PCIHostState;
+};
void pci_data_write(PCIBus *s, uint32_t addr, uint32_t val, int len);
uint32_t pci_data_read(PCIBus *s, uint32_t addr, int len);