summaryrefslogtreecommitdiff
path: root/src/include/device
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/device')
-rw-r--r--src/include/device/pci.h2
-rw-r--r--src/include/device/pci_ops.h3
2 files changed, 1 insertions, 4 deletions
diff --git a/src/include/device/pci.h b/src/include/device/pci.h
index e864d6d47f..51d52835fd 100644
--- a/src/include/device/pci.h
+++ b/src/include/device/pci.h
@@ -100,7 +100,7 @@ static inline const struct pci_bus_operations *ops_pci_bus(struct bus *bus)
bops = bus->dev->ops->ops_pci_bus;
}
if (!bops)
- bops = pci_remember_direct();
+ bops = pci_config_default();
return bops;
}
diff --git a/src/include/device/pci_ops.h b/src/include/device/pci_ops.h
index e5e54b6d4d..2efbf9da49 100644
--- a/src/include/device/pci_ops.h
+++ b/src/include/device/pci_ops.h
@@ -21,7 +21,4 @@ void pci_mmio_write_config16(device_t dev, unsigned int where, u16 val);
void pci_mmio_write_config32(device_t dev, unsigned int where, u32 val);
#endif
-/* This function lives in pci_ops_auto.c */
-const struct pci_bus_operations *pci_remember_direct(void);
-
#endif /* PCI_OPS_H */