[coreboot-gerrit] Change in coreboot[master]: device: Make pci_dev_ops_pci structure global

Subrata Banik (Code Review) gerrit at coreboot.org
Mon Dec 11 07:04:45 CET 2017


Subrata Banik has uploaded this change for review. ( https://review.coreboot.org/22814


Change subject: device: Make pci_dev_ops_pci structure global
......................................................................

device: Make pci_dev_ops_pci structure global

This patch makes pci_dev_ops_pci structure global so that
caller can make use of this structure using extern.

Change-Id: I8de919aacccbc062475fb04f59ffb4957d3460b9
Signed-off-by: Subrata Banik <subrata.banik at intel.com>
---
M src/device/pci_device.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/14/22814/1

diff --git a/src/device/pci_device.c b/src/device/pci_device.c
index 3d23671..ffc679f 100644
--- a/src/device/pci_device.c
+++ b/src/device/pci_device.c
@@ -734,7 +734,7 @@
 }
 
 /** Default device operation for PCI devices */
-static struct pci_operations pci_dev_ops_pci = {
+struct pci_operations pci_dev_ops_pci = {
 	.set_subsystem = pci_dev_set_subsystem,
 };
 

-- 
To view, visit https://review.coreboot.org/22814
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8de919aacccbc062475fb04f59ffb4957d3460b9
Gerrit-Change-Number: 22814
Gerrit-PatchSet: 1
Gerrit-Owner: Subrata Banik <subrata.banik at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20171211/0c9ef27e/attachment.html>


More information about the coreboot-gerrit mailing list