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
This commit is contained in:
Jonathan Kollasch 2010-10-28 19:57:52 +00:00 committed by Jonathan A. Kollasch
parent b34ff66a7a
commit d23f275aa1
2 changed files with 0 additions and 10 deletions

View File

@ -78,10 +78,6 @@ static void pci_init(struct device *dev)
pci_write_config32(dev, 0x50, dword); /* TOM */ pci_write_config32(dev, 0x50, dword); /* TOM */
} }
static struct pci_operations lops_pci = {
.set_subsystem = 0,
};
static struct device_operations pci_ops = { static struct device_operations pci_ops = {
.read_resources = pci_bus_read_resources, .read_resources = pci_bus_read_resources,
.set_resources = pci_dev_set_resources, .set_resources = pci_dev_set_resources,
@ -89,7 +85,6 @@ static struct device_operations pci_ops = {
.init = pci_init, .init = pci_init,
.scan_bus = pci_scan_bridge, .scan_bus = pci_scan_bridge,
// .enable = ck804_enable, // .enable = ck804_enable,
.ops_pci = &lops_pci,
}; };
static const struct pci_driver pci_driver __pci_driver = { static const struct pci_driver pci_driver __pci_driver = {

View File

@ -36,10 +36,6 @@ static void pcie_init(struct device *dev)
pci_write_config32(dev, 0x04, dword); pci_write_config32(dev, 0x04, dword);
} }
static struct pci_operations lops_pci = {
.set_subsystem = 0,
};
static struct device_operations pcie_ops = { static struct device_operations pcie_ops = {
.read_resources = pci_bus_read_resources, .read_resources = pci_bus_read_resources,
.set_resources = pci_dev_set_resources, .set_resources = pci_dev_set_resources,
@ -47,7 +43,6 @@ static struct device_operations pcie_ops = {
.init = pcie_init, .init = pcie_init,
.scan_bus = pci_scan_bridge, .scan_bus = pci_scan_bridge,
// .enable = ck804_enable, // .enable = ck804_enable,
.ops_pci = &lops_pci,
}; };
static const struct pci_driver pcie_driver __pci_driver = { static const struct pci_driver pcie_driver __pci_driver = {