summaryrefslogtreecommitdiff
path: root/src/include/device
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/device')
-rw-r--r--src/include/device/pci.h1
-rw-r--r--src/include/device/pci_ops.h4
2 files changed, 1 insertions, 4 deletions
diff --git a/src/include/device/pci.h b/src/include/device/pci.h
index 71d6b2025a..814433dec8 100644
--- a/src/include/device/pci.h
+++ b/src/include/device/pci.h
@@ -23,7 +23,6 @@
#include <device/pci_def.h>
#include <device/resource.h>
#include <device/device.h>
-#include <device/pci_ops.h>
#include <device/pci_rom.h>
diff --git a/src/include/device/pci_ops.h b/src/include/device/pci_ops.h
index 54284f590a..1cf5b77bf7 100644
--- a/src/include/device/pci_ops.h
+++ b/src/include/device/pci_ops.h
@@ -12,7 +12,7 @@ u32 pci_read_config32(struct device *dev, unsigned int where);
void pci_write_config8(struct device *dev, unsigned int where, u8 val);
void pci_write_config16(struct device *dev, unsigned int where, u16 val);
void pci_write_config32(struct device *dev, unsigned int where, u32 val);
-
+const struct pci_bus_operations *pci_bus_default_ops(struct device *dev);
#endif
#ifdef __SIMPLE_DEVICE__
@@ -99,6 +99,4 @@ void pci_update_config32(struct device *dev, int reg, u32 mask, u32 or)
pci_write_config32(dev, reg, reg32);
}
-const struct pci_bus_operations *pci_bus_default_ops(struct device *dev);
-
#endif /* PCI_OPS_H */