{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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user