summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/device/pci_device.c2
-rw-r--r--src/include/device/pci.h3
2 files changed, 3 insertions, 2 deletions
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,
};
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;