summaryrefslogtreecommitdiff
path: root/src/include/device/pci.h
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2018-05-03 12:54:47 +0200
committerAaron Durbin <adurbin@chromium.org>2018-05-03 15:18:47 +0000
commitaa6971eed128912612af207136546bcc32935693 (patch)
treebe4af197e7a3750263064c2d95c5ffe98b36730b /src/include/device/pci.h
parentac63b415ed08521cf3636aca19edf7a3a9818d09 (diff)
pci: Fix function prototype
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 <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/26031 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/include/device/pci.h')
-rw-r--r--src/include/device/pci.h2
1 files changed, 1 insertions, 1 deletions
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));