diff options
author | Subrata Banik <subrata.banik@intel.com> | 2017-12-11 10:29:49 +0530 |
---|---|---|
committer | Subrata Banik <subrata.banik@intel.com> | 2017-12-13 10:20:27 +0000 |
commit | ffc790bc7fe35a992e81f0cc31433230a79dfb33 (patch) | |
tree | bf45cc784b72b298d637b33560dc700ef89edef4 /src/include/device/pci.h | |
parent | 55fa54d0c097975f087939563718daa0ceab9f94 (diff) | |
download | coreboot-ffc790bc7fe35a992e81f0cc31433230a79dfb33.tar.xz |
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@intel.com>
Reviewed-on: https://review.coreboot.org/22814
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/include/device/pci.h')
-rw-r--r-- | src/include/device/pci.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/device/pci.h b/src/include/device/pci.h index bc7fada090..5eb6a4ae2a 100644 --- a/src/include/device/pci.h +++ b/src/include/device/pci.h @@ -66,7 +66,8 @@ extern struct pci_driver _pci_drivers[]; /** end of compile time generated pci driver array */ extern struct pci_driver _epci_drivers[]; - +/* Set Subsystem ID operation for PCI devices */ +extern struct pci_operations pci_dev_ops_pci; extern struct device_operations default_pci_ops_dev; extern struct device_operations default_pci_ops_bus; |