From aa6971eed128912612af207136546bcc32935693 Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Thu, 3 May 2018 12:54:47 +0200 Subject: [PATCH] pci: Fix function prototype MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix a function prototype to support PCI on non x86. The function itself does have the correct argument already. Change-Id: I564fcfe9b85ed4f841a48fe17a3f5bf80e16560b Signed-off-by: Patrick Rudolph Reviewed-on: https://review.coreboot.org/26031 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki Reviewed-by: Paul Menzel Reviewed-by: Aaron Durbin --- src/include/device/pci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/device/pci.h b/src/include/device/pci.h index 5eb6a4ae2a..3cc2c64e4f 100644 --- a/src/include/device/pci.h +++ b/src/include/device/pci.h @@ -80,7 +80,7 @@ void pci_bus_reset(struct bus *bus); struct device *pci_probe_dev(struct device *dev, struct bus *bus, unsigned int devfn); -void do_pci_scan_bridge(device_t bus, +void do_pci_scan_bridge(struct device *dev, void (*do_scan_bus)(struct bus *bus, unsigned int min_devfn, unsigned int max_devfn));