[coreboot-gerrit] Change in coreboot[master]: pci: Fix function prototype

Patrick Rudolph (Code Review) gerrit at coreboot.org
Thu May 3 12:58:04 CEST 2018


Patrick Rudolph has uploaded this change for review. ( https://review.coreboot.org/26031


Change subject: pci: Fix function prototype
......................................................................

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 at 9elements.com>
---
M src/include/device/pci.h
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/31/26031/1

diff --git a/src/include/device/pci.h b/src/include/device/pci.h
index 96918ff..ec5198f 100644
--- a/src/include/device/pci.h
+++ b/src/include/device/pci.h
@@ -80,7 +80,7 @@
 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));
 

-- 
To view, visit https://review.coreboot.org/26031
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I564fcfe9b85ed4f841a48fe17a3f5bf80e16560b
Gerrit-Change-Number: 26031
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Rudolph <patrick.rudolph at 9elements.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180503/b70f1e5f/attachment.html>


More information about the coreboot-gerrit mailing list