Author: jakllsch Date: Thu Oct 28 21:57:52 2010 New Revision: 6000 URL: https://tracker.coreboot.org/trac/coreboot/changeset/6000
Log: 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
Modified: trunk/src/southbridge/nvidia/ck804/ck804_pci.c trunk/src/southbridge/nvidia/ck804/ck804_pcie.c
Modified: trunk/src/southbridge/nvidia/ck804/ck804_pci.c ============================================================================== --- trunk/src/southbridge/nvidia/ck804/ck804_pci.c Thu Oct 28 16:22:20 2010 (r5999) +++ trunk/src/southbridge/nvidia/ck804/ck804_pci.c Thu Oct 28 21:57:52 2010 (r6000) @@ -78,10 +78,6 @@ 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 @@ .init = pci_init, .scan_bus = pci_scan_bridge, // .enable = ck804_enable, - .ops_pci = &lops_pci, };
static const struct pci_driver pci_driver __pci_driver = {
Modified: trunk/src/southbridge/nvidia/ck804/ck804_pcie.c ============================================================================== --- trunk/src/southbridge/nvidia/ck804/ck804_pcie.c Thu Oct 28 16:22:20 2010 (r5999) +++ trunk/src/southbridge/nvidia/ck804/ck804_pcie.c Thu Oct 28 21:57:52 2010 (r6000) @@ -36,10 +36,6 @@ 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 @@ .init = pcie_init, .scan_bus = pci_scan_bridge, // .enable = ck804_enable, - .ops_pci = &lops_pci, };
static const struct pci_driver pcie_driver __pci_driver = {