summaryrefslogtreecommitdiff
path: root/src/include/device/pciexp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/device/pciexp.h')
-rw-r--r--src/include/device/pciexp.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/device/pciexp.h b/src/include/device/pciexp.h
index 1146557858..b600228472 100644
--- a/src/include/device/pciexp.h
+++ b/src/include/device/pciexp.h
@@ -9,8 +9,9 @@ enum aspm_type {
PCIE_ASPM_BOTH = 3,
};
-unsigned int pciexp_scan_bus(struct bus *bus, unsigned int min_devfn,
- unsigned int max_devfn, unsigned int max);
+void pciexp_scan_bus(struct bus *bus, unsigned int min_devfn,
+ unsigned int max_devfn);
+
unsigned int pciexp_scan_bridge(device_t dev, unsigned int max);
extern struct device_operations default_pciexp_ops_bus;