{mb,nb,soc}: Remove references to pci_bus_default_ops()
pci_bus_default_ops() is the default anyway. Change-Id: I5306d3feea3fc583171d8c865abbe0864b6d9cc6 Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/26055 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
ea4d692d57
commit
3de303179a
|
@ -456,7 +456,6 @@ Use the following steps to debug the call to TempRamInit:
|
|||
.read_resources = pci_domain_read_resources,
|
||||
.set_resources = pci_domain_set_resources,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.ops_pci_bus = pci_bus_default_ops,
|
||||
};
|
||||
</code></pre>
|
||||
</li>
|
||||
|
|
|
@ -230,7 +230,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.enable_resources = NULL,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.ops_pci_bus = pci_bus_default_ops,
|
||||
#if IS_ENABLED(CONFIG_GENERATE_SMBIOS_TABLES)
|
||||
.get_smbios_data = qemu_get_smbios_data,
|
||||
#endif
|
||||
|
|
|
@ -784,7 +784,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.set_resources = domain_set_resources,
|
||||
.init = DEVICE_NOOP,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.ops_pci_bus = pci_bus_default_ops,
|
||||
};
|
||||
|
||||
static void sysconf_init(device_t dev) // first node
|
||||
|
|
|
@ -800,7 +800,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.set_resources = domain_set_resources,
|
||||
.init = DEVICE_NOOP,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.ops_pci_bus = pci_bus_default_ops,
|
||||
};
|
||||
|
||||
static void sysconf_init(device_t dev) // first node
|
||||
|
|
|
@ -1326,7 +1326,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.enable_resources = NULL,
|
||||
.init = NULL,
|
||||
.scan_bus = amdfam10_domain_scan_bus,
|
||||
.ops_pci_bus = pci_bus_default_ops,
|
||||
#if IS_ENABLED(CONFIG_HAVE_ACPI_TABLES)
|
||||
.acpi_name = amdfam10_domain_acpi_name,
|
||||
#endif
|
||||
|
|
|
@ -1053,7 +1053,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.enable_resources = NULL,
|
||||
.init = NULL,
|
||||
.scan_bus = amdk8_domain_scan_bus,
|
||||
.ops_pci_bus = pci_bus_default_ops,
|
||||
};
|
||||
|
||||
static void add_more_links(device_t dev, unsigned total_links)
|
||||
|
|
|
@ -391,7 +391,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.enable_resources = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.enable = pci_domain_enable,
|
||||
.ops_pci_bus = pci_bus_default_ops,
|
||||
};
|
||||
|
||||
static void cpu_bus_init(device_t dev)
|
||||
|
|
|
@ -800,7 +800,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.enable_resources = domain_enable_resources,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.ops_pci_bus = pci_bus_default_ops,
|
||||
};
|
||||
|
||||
static void sysconf_init(device_t dev) // first node
|
||||
|
|
|
@ -802,7 +802,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.enable_resources = domain_enable_resources,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.ops_pci_bus = pci_bus_default_ops,
|
||||
};
|
||||
|
||||
static void sysconf_init(device_t dev) // first node
|
||||
|
|
|
@ -824,7 +824,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.enable_resources = domain_enable_resources,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.ops_pci_bus = pci_bus_default_ops,
|
||||
.acpi_name = domain_acpi_name,
|
||||
};
|
||||
|
||||
|
|
|
@ -114,7 +114,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.ops_pci = &intel_pci_ops,
|
||||
.ops_pci_bus = pci_bus_default_ops,
|
||||
};
|
||||
|
||||
static void cpu_bus_init(device_t dev)
|
||||
|
|
|
@ -203,7 +203,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.enable_resources = NULL,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.ops_pci_bus = pci_bus_default_ops,
|
||||
};
|
||||
|
||||
static struct device_operations mc_ops = {
|
||||
|
|
|
@ -233,7 +233,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.enable_resources = NULL,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.ops_pci_bus = pci_bus_default_ops,
|
||||
};
|
||||
|
||||
static void mc_read_resources(device_t dev)
|
||||
|
|
|
@ -197,7 +197,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.enable_resources = NULL,
|
||||
.init = mch_domain_init,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.ops_pci_bus = pci_bus_default_ops,
|
||||
.write_acpi_tables = northbridge_write_acpi_tables,
|
||||
.acpi_fill_ssdt_generator = generate_cpu_entries,
|
||||
};
|
||||
|
|
|
@ -84,7 +84,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.enable_resources = NULL,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.ops_pci_bus = pci_bus_default_ops,
|
||||
.write_acpi_tables = northbridge_write_acpi_tables,
|
||||
};
|
||||
|
||||
|
|
|
@ -79,7 +79,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.enable_resources = NULL,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.ops_pci_bus = pci_bus_default_ops,
|
||||
};
|
||||
|
||||
static void cpu_bus_init(struct device *dev)
|
||||
|
|
|
@ -146,7 +146,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.enable_resources = NULL,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.ops_pci_bus = pci_bus_default_ops,
|
||||
};
|
||||
|
||||
static void mc_read_resources(struct device *dev)
|
||||
|
|
|
@ -98,7 +98,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.enable_resources = NULL,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.ops_pci_bus = pci_bus_default_ops,
|
||||
};
|
||||
|
||||
static void mc_read_resources(struct device *dev)
|
||||
|
|
|
@ -152,7 +152,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.set_resources = mch_domain_set_resources,
|
||||
.init = mch_domain_init,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.ops_pci_bus = pci_bus_default_ops,
|
||||
.acpi_fill_ssdt_generator = generate_cpu_entries,
|
||||
};
|
||||
|
||||
|
|
|
@ -268,7 +268,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.enable_resources = NULL,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.ops_pci_bus = pci_bus_default_ops,
|
||||
.write_acpi_tables = northbridge_write_acpi_tables,
|
||||
.acpi_name = northbridge_acpi_name,
|
||||
};
|
||||
|
|
|
@ -161,7 +161,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.set_resources = mch_domain_set_resources,
|
||||
.init = mch_domain_init,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.ops_pci_bus = pci_bus_default_ops,
|
||||
.write_acpi_tables = northbridge_write_acpi_tables,
|
||||
.acpi_fill_ssdt_generator = generate_cpu_entries,
|
||||
};
|
||||
|
|
|
@ -149,7 +149,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.enable_resources = NULL,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.ops_pci_bus = pci_bus_default_ops,
|
||||
};
|
||||
|
||||
static void cpu_bus_init(device_t dev)
|
||||
|
|
|
@ -104,7 +104,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.enable_resources = NULL,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.ops_pci_bus = pci_bus_default_ops,
|
||||
.write_acpi_tables = acpi_write_hpet,
|
||||
};
|
||||
|
||||
|
|
|
@ -122,7 +122,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.enable_resources = NULL,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.ops_pci_bus = pci_bus_default_ops,
|
||||
};
|
||||
|
||||
static void cpu_bus_init(device_t dev)
|
||||
|
|
|
@ -310,7 +310,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.enable_resources = NULL,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.ops_pci_bus = pci_bus_default_ops,
|
||||
};
|
||||
|
||||
static void cpu_bus_init(device_t dev)
|
||||
|
|
|
@ -72,7 +72,6 @@ struct device_operations pci_domain_ops = {
|
|||
.set_resources = domain_set_resources,
|
||||
.enable_resources = domain_enable_resources,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.ops_pci_bus = pci_bus_default_ops,
|
||||
.acpi_name = soc_acpi_name,
|
||||
};
|
||||
|
||||
|
|
|
@ -132,7 +132,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.enable_resources = NULL,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.ops_pci_bus = pci_bus_default_ops,
|
||||
.acpi_name = &soc_acpi_name,
|
||||
};
|
||||
|
||||
|
|
|
@ -33,7 +33,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.enable_resources = NULL,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.ops_pci_bus = pci_bus_default_ops,
|
||||
};
|
||||
|
||||
static struct device_operations cpu_bus_ops = {
|
||||
|
|
|
@ -36,7 +36,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.enable_resources = NULL,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.ops_pci_bus = pci_bus_default_ops,
|
||||
};
|
||||
|
||||
static void cpu_bus_noop(device_t dev) { }
|
||||
|
|
|
@ -30,7 +30,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.read_resources = &pci_domain_read_resources,
|
||||
.set_resources = &pci_domain_set_resources,
|
||||
.scan_bus = &pci_domain_scan_bus,
|
||||
.ops_pci_bus = &pci_bus_default_ops,
|
||||
#if IS_ENABLED(CONFIG_HAVE_ACPI_TABLES)
|
||||
.write_acpi_tables = &northbridge_write_acpi_tables,
|
||||
#endif
|
||||
|
|
|
@ -148,7 +148,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.read_resources = &pci_domain_read_resources,
|
||||
.set_resources = &pci_domain_set_resources,
|
||||
.scan_bus = &pci_domain_scan_bus,
|
||||
.ops_pci_bus = &pci_bus_default_ops,
|
||||
#if IS_ENABLED(CONFIG_HAVE_ACPI_TABLES)
|
||||
.acpi_name = &soc_acpi_name,
|
||||
#endif
|
||||
|
|
|
@ -42,7 +42,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.read_resources = &pci_domain_read_resources,
|
||||
.set_resources = &pci_domain_set_resources,
|
||||
.scan_bus = &pci_domain_scan_bus,
|
||||
.ops_pci_bus = &pci_bus_default_ops,
|
||||
};
|
||||
|
||||
static struct device_operations cpu_bus_ops = {
|
||||
|
|
|
@ -32,7 +32,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.enable_resources = NULL,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.ops_pci_bus = pci_bus_default_ops,
|
||||
};
|
||||
|
||||
static struct device_operations cpu_bus_ops = {
|
||||
|
|
|
@ -45,7 +45,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.enable_resources = NULL,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.ops_pci_bus = pci_bus_default_ops,
|
||||
#if IS_ENABLED(CONFIG_HAVE_ACPI_TABLES)
|
||||
.acpi_name = domain_acpi_name
|
||||
#endif
|
||||
|
|
|
@ -130,7 +130,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.read_resources = pci_domain_read_resources,
|
||||
.set_resources = pci_domain_set_resources,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.ops_pci_bus = pci_bus_default_ops,
|
||||
};
|
||||
|
||||
static void chip_enable_dev(device_t dev)
|
||||
|
|
|
@ -48,7 +48,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.read_resources = &pci_domain_read_resources,
|
||||
.set_resources = &pci_domain_set_resources,
|
||||
.scan_bus = &pci_domain_scan_bus,
|
||||
.ops_pci_bus = &pci_bus_default_ops,
|
||||
#if IS_ENABLED(CONFIG_HAVE_ACPI_TABLES)
|
||||
.acpi_name = &soc_acpi_name,
|
||||
#endif
|
||||
|
|
|
@ -59,7 +59,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.read_resources = &pci_domain_read_resources,
|
||||
.set_resources = &pci_domain_set_resources,
|
||||
.scan_bus = &pci_domain_scan_bus,
|
||||
.ops_pci_bus = &pci_bus_default_ops,
|
||||
#if IS_ENABLED(CONFIG_HAVE_ACPI_TABLES)
|
||||
.write_acpi_tables = &northbridge_write_acpi_tables,
|
||||
.acpi_name = &soc_acpi_name,
|
||||
|
|
Loading…
Reference in New Issue