diff options
Diffstat (limited to 'src/device/pci_ops.c')
-rw-r--r-- | src/device/pci_ops.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/device/pci_ops.c b/src/device/pci_ops.c index b6fc32d6cf..6d88209027 100644 --- a/src/device/pci_ops.c +++ b/src/device/pci_ops.c @@ -20,12 +20,11 @@ #include <device/pci_ids.h> #include <device/pci_ops.h> -const struct pci_bus_operations *pci_bus_default_ops(device_t dev) +/* Overwrite with architecture specific method */ +const struct pci_bus_operations __attribute__((weak)) +*pci_bus_default_ops(struct device *dev) { - if (IS_ENABLED(CONFIG_NO_MMCONF_SUPPORT)) - return &pci_cf8_conf1; - - return &pci_ops_mmconf; + return NULL; } static const struct pci_bus_operations *pci_bus_ops(struct bus *bus, struct device *dev) |