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:
parent
08e5b65f46
commit
cb2080f551
|
@ -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[] = {
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
|
@ -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[] = {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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[] = {
|
||||
|
|
|
@ -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[] = {
|
||||
|
|
|
@ -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[] = {
|
||||
|
|
|
@ -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[] = {
|
||||
|
|
|
@ -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[] = {
|
||||
|
|
|
@ -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[] = {
|
||||
|
|
|
@ -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[] = {
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue