From ffc790bc7fe35a992e81f0cc31433230a79dfb33 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Mon, 11 Dec 2017 10:29:49 +0530 Subject: 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 Reviewed-on: https://review.coreboot.org/22814 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Furquan Shaikh --- src/device/pci_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/device') diff --git a/src/device/pci_device.c b/src/device/pci_device.c index 3d236719bf..ffc679facf 100644 --- a/src/device/pci_device.c +++ b/src/device/pci_device.c @@ -734,7 +734,7 @@ void pci_dev_init(struct device *dev) } /** 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, }; -- cgit v1.2.3