summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/southbridge/nvidia/ck804/ck804_pci.c5
-rw-r--r--src/southbridge/nvidia/ck804/ck804_pcie.c5
2 files changed, 0 insertions, 10 deletions
diff --git a/src/southbridge/nvidia/ck804/ck804_pci.c b/src/southbridge/nvidia/ck804/ck804_pci.c
index 4a3cce5867..044c7100d4 100644
--- a/src/southbridge/nvidia/ck804/ck804_pci.c
+++ b/src/southbridge/nvidia/ck804/ck804_pci.c
@@ -78,10 +78,6 @@ static void pci_init(struct device *dev)
pci_write_config32(dev, 0x50, dword); /* TOM */
}
-static struct pci_operations lops_pci = {
- .set_subsystem = 0,
-};
-
static struct device_operations pci_ops = {
.read_resources = pci_bus_read_resources,
.set_resources = pci_dev_set_resources,
@@ -89,7 +85,6 @@ static struct device_operations pci_ops = {
.init = pci_init,
.scan_bus = pci_scan_bridge,
// .enable = ck804_enable,
- .ops_pci = &lops_pci,
};
static const struct pci_driver pci_driver __pci_driver = {
diff --git a/src/southbridge/nvidia/ck804/ck804_pcie.c b/src/southbridge/nvidia/ck804/ck804_pcie.c
index 525b6e94a2..cbde9cf57c 100644
--- a/src/southbridge/nvidia/ck804/ck804_pcie.c
+++ b/src/southbridge/nvidia/ck804/ck804_pcie.c
@@ -36,10 +36,6 @@ static void pcie_init(struct device *dev)
pci_write_config32(dev, 0x04, dword);
}
-static struct pci_operations lops_pci = {
- .set_subsystem = 0,
-};
-
static struct device_operations pcie_ops = {
.read_resources = pci_bus_read_resources,
.set_resources = pci_dev_set_resources,
@@ -47,7 +43,6 @@ static struct device_operations pcie_ops = {
.init = pcie_init,
.scan_bus = pci_scan_bridge,
// .enable = ck804_enable,
- .ops_pci = &lops_pci,
};
static const struct pci_driver pcie_driver __pci_driver = {