diff options
author | Jonathan Kollasch <jakllsch@kollasch.net> | 2010-10-28 19:57:52 +0000 |
---|---|---|
committer | Jonathan A. Kollasch <jakllsch@kollasch.net> | 2010-10-28 19:57:52 +0000 |
commit | d23f275aa1a1c71391070b40201453026591d937 (patch) | |
tree | bdd36b0adb178258a2b8d0cc507ea35e053d2342 /src/southbridge/nvidia | |
parent | b34ff66a7a7462a427242c27d01ab241615fe2d3 (diff) | |
download | coreboot-d23f275aa1a1c71391070b40201453026591d937.tar.xz |
The no point in having a non-NULL ops_pci pointer when the set_subsystem operation within is NULL anyway.
Signed-off-by: Jonathan Kollasch <jakllsch@kollasch.net>
Acked-by: Jonathan Kollasch <jakllsch@kollasch.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6000 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/nvidia')
-rw-r--r-- | src/southbridge/nvidia/ck804/ck804_pci.c | 5 | ||||
-rw-r--r-- | src/southbridge/nvidia/ck804/ck804_pcie.c | 5 |
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 = { |