The no point in having a non-NULL ops_pci pointer when the set_subsystem operation...
authorJonathan Kollasch <jakllsch@kollasch.net>
Thu, 28 Oct 2010 19:57:52 +0000 (19:57 +0000)
committerJonathan A. Kollasch <jakllsch@kollasch.net>
Thu, 28 Oct 2010 19:57:52 +0000 (19:57 +0000)
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

src/southbridge/nvidia/ck804/ck804_pci.c
src/southbridge/nvidia/ck804/ck804_pcie.c

index 4a3cce58671f881d94474604d0e7bebdf7ef7e92..044c7100d4354f5c4bfec11051252a3e75ccbb53 100644 (file)
@@ -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 = {
index 525b6e94a25029b380775ba1e7bf02dce7a95928..cbde9cf57c4b42a3d953c6a9245bee34a81649b8 100644 (file)
@@ -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 = {