soc/intel/broadwell: Drop `broadwell_pci_ops`

This is essentially a duplicate of `pci_dev_ops_pci`.

Change-Id: I06a21ebd759c35910cd753d3079ea7902868e89d
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46697
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Angel Pons 2020-10-23 15:45:44 +02:00
parent 08e5b65f46
commit cb2080f551
13 changed files with 11 additions and 17 deletions

View File

@ -128,7 +128,7 @@ static struct device_operations adsp_ops = {
.set_resources = pci_dev_set_resources,
.enable_resources = pci_dev_enable_resources,
.init = adsp_init,
.ops_pci = &broadwell_pci_ops,
.ops_pci = &pci_dev_ops_pci,
};
static const unsigned short pci_device_ids[] = {

View File

@ -43,7 +43,3 @@ struct chip_operations soc_intel_broadwell_ops = {
.enable_dev = &broadwell_enable,
.init = &broadwell_init_pre_device,
};
struct pci_operations broadwell_pci_ops = {
.set_subsystem = &pci_dev_set_subsystem
};

View File

@ -590,7 +590,7 @@ static struct device_operations igd_ops = {
.set_resources = &pci_dev_set_resources,
.enable_resources = &pci_dev_enable_resources,
.init = &igd_init,
.ops_pci = &broadwell_pci_ops,
.ops_pci = &pci_dev_ops_pci,
.acpi_fill_ssdt = gma_generate_ssdt,
};

View File

@ -139,7 +139,7 @@ static struct device_operations hda_ops = {
.enable_resources = &pci_dev_enable_resources,
.init = &hda_init,
.enable = &hda_enable,
.ops_pci = &broadwell_pci_ops,
.ops_pci = &pci_dev_ops_pci,
};
static const unsigned short pci_device_ids[] = {

View File

@ -16,6 +16,4 @@ void broadwell_run_reference_code(void);
static inline void broadwell_run_reference_code(void) { }
#endif
extern struct pci_operations broadwell_pci_ops;
#endif

View File

@ -652,7 +652,7 @@ static struct device_operations device_ops = {
.write_acpi_tables = broadwell_write_acpi_tables,
.init = &lpc_init,
.scan_bus = &scan_static_bus,
.ops_pci = &broadwell_pci_ops,
.ops_pci = &pci_dev_ops_pci,
};
static const unsigned short pci_device_ids[] = {

View File

@ -1041,7 +1041,7 @@ static struct device_operations device_ops = {
.enable = &intel_me_enable,
.init = &intel_me_init,
.final = &intel_me_finalize,
.ops_pci = &broadwell_pci_ops,
.ops_pci = &pci_dev_ops_pci,
};
static const unsigned short pci_device_ids[] = {

View File

@ -95,7 +95,7 @@ static struct device_operations minihd_ops = {
.set_resources = pci_dev_set_resources,
.enable_resources = pci_dev_enable_resources,
.init = minihd_init,
.ops_pci = &broadwell_pci_ops,
.ops_pci = &pci_dev_ops_pci,
};
static const unsigned short pci_device_ids[] = {

View File

@ -270,7 +270,7 @@ static struct device_operations sata_ops = {
.enable_resources = pci_dev_enable_resources,
.init = sata_init,
.enable = sata_enable,
.ops_pci = &broadwell_pci_ops,
.ops_pci = &pci_dev_ops_pci,
};
static const unsigned short pci_device_ids[] = {

View File

@ -273,7 +273,7 @@ static struct device_operations device_ops = {
.set_resources = &serialio_set_resources,
.enable_resources = &pci_dev_enable_resources,
.init = &serialio_init,
.ops_pci = &broadwell_pci_ops,
.ops_pci = &pci_dev_ops_pci,
};
static const unsigned short pci_device_ids[] = {

View File

@ -79,7 +79,7 @@ static struct device_operations smbus_ops = {
.scan_bus = scan_smbus,
.init = pch_smbus_init,
.ops_smbus_bus = &lops_smbus_bus,
.ops_pci = &broadwell_pci_ops,
.ops_pci = &pci_dev_ops_pci,
};
static const unsigned short pci_device_ids[] = {

View File

@ -435,7 +435,7 @@ static struct device_operations systemagent_ops = {
.set_resources = pci_dev_set_resources,
.enable_resources = pci_dev_enable_resources,
.init = systemagent_init,
.ops_pci = &broadwell_pci_ops,
.ops_pci = &pci_dev_ops_pci,
};
static const unsigned short systemagent_ids[] = {

View File

@ -201,7 +201,7 @@ static struct device_operations usb_xhci_ops = {
.read_resources = pci_dev_read_resources,
.set_resources = pci_dev_set_resources,
.enable_resources = pci_dev_enable_resources,
.ops_pci = &broadwell_pci_ops,
.ops_pci = &pci_dev_ops_pci,
.init = xhci_init,
};