Drop explicit NULL initializations from `device_operations`
Unmentioned fields are initialized with 0 (or NULL) implicitly. Beside that, the struct has grown over the years. There are too many optional fields to list them all. Change-Id: Icb9e14c58153d7c14817bcde148e86e977666e4b Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40126 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
7c45c8363d
commit
deeccbf4e9
|
@ -251,6 +251,5 @@ struct device_operations default_azalia_audio_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = azalia_audio_init,
|
||||
.scan_bus = 0,
|
||||
.ops_pci = &azalia_audio_pci_ops,
|
||||
};
|
||||
|
|
|
@ -157,8 +157,6 @@ struct device_operations default_cardbus_ops_bus = {
|
|||
.read_resources = cardbus_read_resources,
|
||||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = cardbus_enable_resources,
|
||||
.init = 0,
|
||||
.scan_bus = pci_scan_bridge,
|
||||
.enable = 0,
|
||||
.reset_bus = pci_bus_reset,
|
||||
};
|
||||
|
|
|
@ -495,9 +495,7 @@ struct device_operations default_ht_ops_bus = {
|
|||
.read_resources = pci_bus_read_resources,
|
||||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_bus_enable_resources,
|
||||
.init = 0,
|
||||
.scan_bus = ht_scan_bridge,
|
||||
.enable = 0,
|
||||
.reset_bus = pci_bus_reset,
|
||||
.ops_pci = &ht_bus_ops_pci,
|
||||
};
|
||||
|
|
|
@ -761,8 +761,6 @@ struct device_operations default_pci_ops_dev = {
|
|||
.acpi_fill_ssdt = pci_rom_ssdt,
|
||||
#endif
|
||||
.init = pci_dev_init,
|
||||
.scan_bus = 0,
|
||||
.enable = 0,
|
||||
.ops_pci = &pci_dev_ops_pci,
|
||||
};
|
||||
|
||||
|
@ -775,9 +773,7 @@ struct device_operations default_pci_ops_bus = {
|
|||
.read_resources = pci_bus_read_resources,
|
||||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_bus_enable_resources,
|
||||
.init = 0,
|
||||
.scan_bus = pci_scan_bridge,
|
||||
.enable = 0,
|
||||
.reset_bus = pci_bus_reset,
|
||||
.ops_pci = &pci_bus_ops_pci,
|
||||
};
|
||||
|
|
|
@ -502,9 +502,7 @@ struct device_operations default_pciexp_ops_bus = {
|
|||
.read_resources = pci_bus_read_resources,
|
||||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_bus_enable_resources,
|
||||
.init = 0,
|
||||
.scan_bus = pciexp_scan_bridge,
|
||||
.enable = 0,
|
||||
.reset_bus = pci_bus_reset,
|
||||
.ops_pci = &pciexp_bus_ops_pci,
|
||||
};
|
||||
|
|
|
@ -123,9 +123,7 @@ struct device_operations default_pcix_ops_bus = {
|
|||
.read_resources = pci_bus_read_resources,
|
||||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_bus_enable_resources,
|
||||
.init = 0,
|
||||
.scan_bus = pcix_scan_bridge,
|
||||
.enable = 0,
|
||||
.reset_bus = pci_bus_reset,
|
||||
.ops_pci = &pcix_bus_ops_pci,
|
||||
};
|
||||
|
|
|
@ -67,7 +67,6 @@ static struct device_operations aspeed_ast2050_ops = {
|
|||
.set_resources = aspeed_ast2050_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = aspeed_ast2050_init,
|
||||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static const struct pci_driver aspeed_ast2050_driver __pci_driver = {
|
||||
|
|
|
@ -43,7 +43,6 @@ static struct device_operations dec_21143_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = dec_21143_enable,
|
||||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static const struct pci_driver dec_21143_driver __pci_driver = {
|
||||
|
|
|
@ -140,7 +140,6 @@ static struct device_operations qemu_graph_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = bochs_init,
|
||||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static const struct pci_driver qemu_stdvga_driver __pci_driver = {
|
||||
|
|
|
@ -340,7 +340,6 @@ static struct device_operations qemu_cirrus_graph_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = cirrus_init,
|
||||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static const struct pci_driver qemu_cirrus_driver __pci_driver = {
|
||||
|
|
|
@ -228,8 +228,6 @@ static struct device_operations i210_ops = {
|
|||
.set_resources = set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = init,
|
||||
.scan_bus = 0,
|
||||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static const unsigned short i210_device_ids[] = { 0x1537, 0x1538, 0x1533, 0 };
|
||||
|
|
|
@ -162,7 +162,6 @@ static struct device_operations atl1e_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = atl1e_init,
|
||||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static const struct pci_driver atl1e_driver __pci_driver = {
|
||||
|
|
|
@ -317,8 +317,6 @@ static struct device_operations ne2k_ops = {
|
|||
.read_resources = read_resources,
|
||||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = 0,
|
||||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static const struct pci_driver ne2k_driver __pci_driver = {
|
||||
|
|
|
@ -372,7 +372,6 @@ static struct device_operations r8168_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = r8168_init,
|
||||
.scan_bus = 0,
|
||||
#if CONFIG(HAVE_ACPI_TABLES)
|
||||
.acpi_name = r8168_net_acpi_name,
|
||||
.acpi_fill_ssdt = r8168_net_fill_ssdt,
|
||||
|
|
|
@ -58,7 +58,6 @@ static struct device_operations rce822_ops = {
|
|||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = rce822_init,
|
||||
.enable = rce822_enable,
|
||||
.scan_bus = 0,
|
||||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
|
|
|
@ -158,8 +158,6 @@ static struct device_operations nc_fpga_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = nc_fpga_init,
|
||||
.scan_bus = 0,
|
||||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static const unsigned short nc_fpga_device_ids[] = { 0x4080, 0x4091, 0 };
|
||||
|
|
|
@ -38,7 +38,6 @@ static struct device_operations si_sata_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = si_sata_init,
|
||||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static const struct pci_driver si_sata_driver __pci_driver = {
|
||||
|
|
|
@ -52,7 +52,6 @@ static struct device_operations oxford_oxpcie_ops = {
|
|||
.set_resources = oxford_oxpcie_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = oxford_oxpcie_enable,
|
||||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static const struct pci_driver oxford_oxpcie_driver __pci_driver = {
|
||||
|
|
|
@ -50,7 +50,6 @@ static struct device_operations xgi_z9s_ops = {
|
|||
.set_resources = xgi_z9s_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = xgi_z9s_init,
|
||||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static const struct pci_driver xgi_z9s_driver __pci_driver = {
|
||||
|
|
|
@ -36,7 +36,6 @@ static struct device_operations nb_operations = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = qemu_nb_init,
|
||||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static const struct pci_driver nb_driver __pci_driver = {
|
||||
|
|
|
@ -236,8 +236,6 @@ static const char *qemu_acpi_name(const struct device *dev)
|
|||
static struct device_operations pci_domain_ops = {
|
||||
.read_resources = cpu_pci_domain_read_resources,
|
||||
.set_resources = cpu_pci_domain_set_resources,
|
||||
.enable_resources = NULL,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
#if CONFIG(GENERATE_SMBIOS_TABLES)
|
||||
.get_smbios_data = qemu_get_smbios_data,
|
||||
|
|
|
@ -55,7 +55,6 @@ static struct device_operations nb_operations = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = qemu_nb_init,
|
||||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static const struct pci_driver nb_driver __pci_driver = {
|
||||
|
|
|
@ -56,8 +56,6 @@ static struct device_operations iommu_ops = {
|
|||
.read_resources = iommu_read_resources,
|
||||
.set_resources = iommu_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = 0,
|
||||
.scan_bus = 0,
|
||||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
|
|
|
@ -563,8 +563,6 @@ static struct device_operations northbridge_operations = {
|
|||
.init = DEVICE_NOOP,
|
||||
.acpi_fill_ssdt = northbridge_fill_ssdt_generator,
|
||||
.write_acpi_tables = agesa_write_acpi_tables,
|
||||
.enable = 0,
|
||||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static const struct pci_driver family15_northbridge __pci_driver = {
|
||||
|
|
|
@ -562,8 +562,6 @@ static struct device_operations northbridge_operations = {
|
|||
.init = DEVICE_NOOP,
|
||||
.acpi_fill_ssdt = northbridge_fill_ssdt_generator,
|
||||
.write_acpi_tables = agesa_write_acpi_tables,
|
||||
.enable = 0,
|
||||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static const struct pci_driver family16_northbridge __pci_driver = {
|
||||
|
|
|
@ -56,8 +56,6 @@ static struct device_operations iommu_ops = {
|
|||
.read_resources = iommu_read_resources,
|
||||
.set_resources = iommu_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = 0,
|
||||
.scan_bus = 0,
|
||||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
|
|
|
@ -557,8 +557,6 @@ static struct device_operations northbridge_operations = {
|
|||
.init = DEVICE_NOOP,
|
||||
.acpi_fill_ssdt = northbridge_fill_ssdt_generator,
|
||||
.write_acpi_tables = agesa_write_acpi_tables,
|
||||
.enable = 0,
|
||||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static const struct pci_driver family15_northbridge __pci_driver = {
|
||||
|
@ -775,7 +773,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.read_resources = domain_read_resources,
|
||||
.set_resources = domain_set_resources,
|
||||
.enable_resources = domain_enable_resources,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
};
|
||||
|
||||
|
|
|
@ -547,8 +547,6 @@ static struct device_operations northbridge_operations = {
|
|||
.init = northbridge_init,
|
||||
.acpi_fill_ssdt = northbridge_fill_ssdt_generator,
|
||||
.write_acpi_tables = agesa_write_acpi_tables,
|
||||
.enable = 0,
|
||||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static const struct pci_driver family15_northbridge __pci_driver = {
|
||||
|
@ -784,7 +782,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.read_resources = domain_read_resources,
|
||||
.set_resources = domain_set_resources,
|
||||
.enable_resources = domain_enable_resources,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.acpi_name = domain_acpi_name,
|
||||
};
|
||||
|
|
|
@ -46,8 +46,6 @@ static struct device_operations iommu_ops = {
|
|||
.read_resources = iommu_read_resources,
|
||||
.set_resources = iommu_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = 0,
|
||||
.scan_bus = 0,
|
||||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
|
|
|
@ -777,8 +777,6 @@ static struct device_operations northbridge_operations = {
|
|||
.init = northbridge_init,
|
||||
.acpi_fill_ssdt = northbridge_fill_ssdt_generator,
|
||||
.write_acpi_tables = agesa_write_acpi_tables,
|
||||
.enable = 0,
|
||||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static const struct pci_driver family16_northbridge __pci_driver = {
|
||||
|
@ -1048,7 +1046,6 @@ static struct device_operations pci_domain_ops = {
|
|||
.read_resources = domain_read_resources,
|
||||
.set_resources = domain_set_resources,
|
||||
.enable_resources = domain_enable_resources,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.acpi_name = domain_acpi_name,
|
||||
};
|
||||
|
|
|
@ -80,8 +80,6 @@ static struct pci_operations intel_pci_ops = {
|
|||
static struct device_operations pci_domain_ops = {
|
||||
.read_resources = mch_domain_read_resources,
|
||||
.set_resources = mch_domain_set_resources,
|
||||
.enable_resources = NULL,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.ops_pci = &intel_pci_ops,
|
||||
};
|
||||
|
@ -96,7 +94,6 @@ static struct device_operations cpu_bus_ops = {
|
|||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
.init = cpu_bus_init,
|
||||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static void enable_dev(struct device *dev)
|
||||
|
|
|
@ -267,8 +267,6 @@ static struct device_operations gma_func0_ops = {
|
|||
.enable_resources = pci_dev_enable_resources,
|
||||
.acpi_fill_ssdt = gma_generate_ssdt,
|
||||
.init = gma_func0_init,
|
||||
.scan_bus = 0,
|
||||
.enable = 0,
|
||||
.ops_pci = &gma_pci_ops,
|
||||
.acpi_name = gma_acpi_name,
|
||||
.write_acpi_tables = gma_write_acpi_tables,
|
||||
|
|
|
@ -229,7 +229,6 @@ void northbridge_write_smram(u8 smram)
|
|||
static struct device_operations pci_domain_ops = {
|
||||
.read_resources = mch_domain_read_resources,
|
||||
.set_resources = mch_domain_set_resources,
|
||||
.enable_resources = NULL,
|
||||
.init = mch_domain_init,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.write_acpi_tables = northbridge_write_acpi_tables,
|
||||
|
@ -242,7 +241,6 @@ static struct device_operations cpu_bus_ops = {
|
|||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
.init = mp_cpu_bus_init,
|
||||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static void enable_dev(struct device *dev)
|
||||
|
|
|
@ -565,8 +565,6 @@ static struct device_operations gma_func0_ops = {
|
|||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = gma_func0_init,
|
||||
.acpi_fill_ssdt = gma_generate_ssdt,
|
||||
.scan_bus = NULL,
|
||||
.enable = NULL,
|
||||
.ops_pci = &gma_pci_ops,
|
||||
.write_acpi_tables = gma_write_acpi_tables,
|
||||
};
|
||||
|
|
|
@ -106,7 +106,6 @@ static struct device_operations minihd_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = minihd_init,
|
||||
.scan_bus = NULL,
|
||||
.ops_pci = &minihd_pci_ops,
|
||||
};
|
||||
|
||||
|
|
|
@ -92,8 +92,6 @@ static const char *northbridge_acpi_name(const struct device *dev)
|
|||
static struct device_operations pci_domain_ops = {
|
||||
.read_resources = pci_domain_read_resources,
|
||||
.set_resources = pci_domain_set_resources,
|
||||
.enable_resources = NULL,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.acpi_name = northbridge_acpi_name,
|
||||
.write_acpi_tables = northbridge_write_acpi_tables,
|
||||
|
@ -477,7 +475,6 @@ static struct device_operations mc_ops = {
|
|||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = northbridge_init,
|
||||
.acpi_fill_ssdt = generate_cpu_entries,
|
||||
.scan_bus = NULL,
|
||||
.ops_pci = &intel_pci_ops,
|
||||
};
|
||||
|
||||
|
@ -500,7 +497,6 @@ static struct device_operations cpu_bus_ops = {
|
|||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
.init = mp_cpu_bus_init,
|
||||
.scan_bus = NULL,
|
||||
};
|
||||
|
||||
static void enable_dev(struct device *dev)
|
||||
|
|
|
@ -31,8 +31,6 @@ static struct device_operations northbridge_operations = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = northbridge_init,
|
||||
.enable = 0,
|
||||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static const struct pci_driver northbridge_driver __pci_driver = {
|
||||
|
@ -82,8 +80,6 @@ static void i440bx_domain_set_resources(struct device *dev)
|
|||
static struct device_operations pci_domain_ops = {
|
||||
.read_resources = pci_domain_read_resources,
|
||||
.set_resources = i440bx_domain_set_resources,
|
||||
.enable_resources = NULL,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
};
|
||||
|
||||
|
@ -97,7 +93,6 @@ static struct device_operations cpu_bus_ops = {
|
|||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
.init = cpu_bus_init,
|
||||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static void enable_dev(struct device *dev)
|
||||
|
|
|
@ -816,8 +816,6 @@ static struct device_operations gma_func0_ops = {
|
|||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = gma_func0_init,
|
||||
.acpi_fill_ssdt = gma_generate_ssdt,
|
||||
.scan_bus = 0,
|
||||
.enable = 0,
|
||||
.disable = gma_func0_disable,
|
||||
.ops_pci = &gma_pci_ops,
|
||||
.acpi_name = gma_acpi_name,
|
||||
|
@ -830,8 +828,6 @@ static struct device_operations gma_func1_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = gma_func1_init,
|
||||
.scan_bus = 0,
|
||||
.enable = 0,
|
||||
.ops_pci = &gma_pci_ops,
|
||||
};
|
||||
|
||||
|
|
|
@ -167,8 +167,6 @@ void northbridge_write_smram(u8 smram)
|
|||
static struct device_operations pci_domain_ops = {
|
||||
.read_resources = mch_domain_read_resources,
|
||||
.set_resources = mch_domain_set_resources,
|
||||
.enable_resources = NULL,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.acpi_name = northbridge_acpi_name,
|
||||
};
|
||||
|
@ -196,7 +194,6 @@ static struct device_operations mc_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.acpi_fill_ssdt = generate_cpu_entries,
|
||||
.scan_bus = 0,
|
||||
.ops_pci = &intel_pci_ops,
|
||||
};
|
||||
|
||||
|
@ -216,7 +213,6 @@ static struct device_operations cpu_bus_ops = {
|
|||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
.init = mp_cpu_bus_init,
|
||||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static void enable_dev(struct device *dev)
|
||||
|
|
|
@ -257,8 +257,6 @@ static struct device_operations gma_func0_ops = {
|
|||
.enable_resources = pci_dev_enable_resources,
|
||||
.acpi_fill_ssdt = gma_generate_ssdt,
|
||||
.init = gma_func0_init,
|
||||
.scan_bus = 0,
|
||||
.enable = 0,
|
||||
.ops_pci = &gma_pci_ops,
|
||||
.write_acpi_tables = gma_write_acpi_tables,
|
||||
};
|
||||
|
|
|
@ -105,8 +105,6 @@ static const char *northbridge_acpi_name(const struct device *dev)
|
|||
static struct device_operations pci_domain_ops = {
|
||||
.read_resources = pci_domain_read_resources,
|
||||
.set_resources = pci_domain_set_resources,
|
||||
.enable_resources = NULL,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
#if CONFIG(HAVE_ACPI_TABLES)
|
||||
.acpi_name = northbridge_acpi_name,
|
||||
|
@ -256,7 +254,6 @@ static struct device_operations mc_ops = {
|
|||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = northbridge_init,
|
||||
.acpi_fill_ssdt = generate_cpu_entries,
|
||||
.scan_bus = 0,
|
||||
.ops_pci = &intel_pci_ops,
|
||||
};
|
||||
|
||||
|
@ -271,7 +268,6 @@ static struct device_operations cpu_bus_ops = {
|
|||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
.init = mp_cpu_bus_init,
|
||||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static void enable_dev(struct device *dev)
|
||||
|
|
|
@ -326,10 +326,7 @@ static struct device_operations gma_func0_ops = {
|
|||
.read_resources = pci_dev_read_resources,
|
||||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.acpi_fill_ssdt = NULL,
|
||||
.init = gma_func0_init,
|
||||
.scan_bus = NULL,
|
||||
.enable = NULL,
|
||||
.ops_pci = &gma_pci_ops,
|
||||
.acpi_name = gma_acpi_name,
|
||||
.write_acpi_tables = gma_write_acpi_tables,
|
||||
|
|
|
@ -699,8 +699,6 @@ static struct device_operations gma_func0_ops = {
|
|||
.enable_resources = pci_dev_enable_resources,
|
||||
.acpi_fill_ssdt = gma_generate_ssdt,
|
||||
.init = gma_func0_init,
|
||||
.scan_bus = NULL,
|
||||
.enable = NULL,
|
||||
.disable = gma_func0_disable,
|
||||
.ops_pci = &gma_pci_ops,
|
||||
.acpi_name = gma_acpi_name,
|
||||
|
|
|
@ -245,8 +245,6 @@ static const char *northbridge_acpi_name(const struct device *dev)
|
|||
static struct device_operations pci_domain_ops = {
|
||||
.read_resources = pci_domain_read_resources,
|
||||
.set_resources = pci_domain_set_resources,
|
||||
.enable_resources = NULL,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.write_acpi_tables = northbridge_write_acpi_tables,
|
||||
.acpi_name = northbridge_acpi_name,
|
||||
|
@ -444,7 +442,6 @@ static struct device_operations mc_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = northbridge_init,
|
||||
.scan_bus = NULL,
|
||||
.ops_pci = &intel_pci_ops,
|
||||
.acpi_fill_ssdt = generate_cpu_entries,
|
||||
};
|
||||
|
@ -466,7 +463,6 @@ static struct device_operations cpu_bus_ops = {
|
|||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
.init = mp_cpu_bus_init,
|
||||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static void enable_dev(struct device *dev)
|
||||
|
|
|
@ -205,8 +205,6 @@ static struct device_operations northbridge_operations = {
|
|||
.enable_resources = pci_dev_enable_resources,
|
||||
.acpi_fill_ssdt = northbridge_fill_ssdt_generator,
|
||||
.write_acpi_tables = agesa_write_acpi_tables,
|
||||
.enable = 0,
|
||||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static const struct pci_driver family15_northbridge __pci_driver = {
|
||||
|
|
|
@ -358,8 +358,6 @@ static struct device_operations northbridge_operations = {
|
|||
.init = northbridge_init,
|
||||
.acpi_fill_ssdt = northbridge_fill_ssdt_generator,
|
||||
.write_acpi_tables = agesa_write_acpi_tables,
|
||||
.enable = 0,
|
||||
.ops_pci = 0,
|
||||
};
|
||||
|
||||
static const unsigned short pci_device_ids[] = {
|
||||
|
|
|
@ -320,8 +320,6 @@ static void ecam0_init(struct device *dev)
|
|||
}
|
||||
|
||||
struct device_operations pci_domain_ops_ecam0 = {
|
||||
.set_resources = NULL,
|
||||
.enable_resources = NULL,
|
||||
.read_resources = ecam0_read_resources,
|
||||
.init = ecam0_init,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
|
|
|
@ -394,7 +394,6 @@ static struct device_operations soc_ops = {
|
|||
.enable_resources = DEVICE_NOOP,
|
||||
.init = soc_init,
|
||||
.final = soc_final,
|
||||
.scan_bus = NULL,
|
||||
};
|
||||
|
||||
static void enable_soc_dev(struct device *dev)
|
||||
|
|
|
@ -214,8 +214,6 @@ static void pci_domain_set_resources(struct device *dev)
|
|||
static struct device_operations pci_domain_ops = {
|
||||
.read_resources = pci_domain_read_resources,
|
||||
.set_resources = pci_domain_set_resources,
|
||||
.enable_resources = NULL,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
.acpi_name = &soc_acpi_name,
|
||||
};
|
||||
|
@ -225,7 +223,6 @@ static struct device_operations cpu_bus_ops = {
|
|||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
.init = apollolake_init_cpus,
|
||||
.scan_bus = NULL,
|
||||
.acpi_fill_ssdt = generate_cpu_entries,
|
||||
};
|
||||
|
||||
|
|
|
@ -28,8 +28,6 @@ static void pci_domain_set_resources(struct device *dev)
|
|||
static struct device_operations pci_domain_ops = {
|
||||
.read_resources = pci_domain_read_resources,
|
||||
.set_resources = pci_domain_set_resources,
|
||||
.enable_resources = NULL,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
};
|
||||
|
||||
|
@ -38,7 +36,6 @@ static struct device_operations cpu_bus_ops = {
|
|||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
.init = baytrail_init_cpus,
|
||||
.scan_bus = NULL,
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -59,8 +59,6 @@ static struct device_operations device_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = emmc_init,
|
||||
.enable = NULL,
|
||||
.scan_bus = NULL,
|
||||
.ops_pci = &soc_pci_ops,
|
||||
};
|
||||
|
||||
|
|
|
@ -100,8 +100,6 @@ static const struct device_operations device_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = hda_init,
|
||||
.enable = NULL,
|
||||
.scan_bus = NULL,
|
||||
.ops_pci = &soc_pci_ops,
|
||||
};
|
||||
|
||||
|
|
|
@ -173,8 +173,6 @@ static const struct device_operations device_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = lpe_init,
|
||||
.enable = NULL,
|
||||
.scan_bus = NULL,
|
||||
.ops_pci = &soc_pci_ops,
|
||||
};
|
||||
|
||||
|
|
|
@ -171,8 +171,6 @@ static struct device_operations device_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = lpss_init,
|
||||
.enable = NULL,
|
||||
.scan_bus = NULL,
|
||||
.ops_pci = &soc_pci_ops,
|
||||
};
|
||||
|
||||
|
|
|
@ -137,11 +137,6 @@ static void nc_read_resources(struct device *dev)
|
|||
static struct device_operations nc_ops = {
|
||||
.read_resources = nc_read_resources,
|
||||
.acpi_fill_ssdt = generate_cpu_entries,
|
||||
.set_resources = NULL,
|
||||
.enable_resources = NULL,
|
||||
.init = NULL,
|
||||
.enable = NULL,
|
||||
.scan_bus = NULL,
|
||||
.ops_pci = &soc_pci_ops,
|
||||
};
|
||||
|
||||
|
|
|
@ -212,7 +212,6 @@ static struct device_operations sata_ops = {
|
|||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = sata_init,
|
||||
.enable = sata_enable,
|
||||
.scan_bus = NULL,
|
||||
.ops_pci = &soc_pci_ops,
|
||||
};
|
||||
|
||||
|
|
|
@ -50,8 +50,6 @@ static const struct device_operations device_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = sd_init,
|
||||
.enable = NULL,
|
||||
.scan_bus = NULL,
|
||||
.ops_pci = &soc_pci_ops,
|
||||
};
|
||||
|
||||
|
|
|
@ -523,7 +523,6 @@ static struct device_operations device_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.acpi_inject_dsdt = southcluster_inject_dsdt,
|
||||
.write_acpi_tables = acpi_write_hpet,
|
||||
.enable_resources = NULL,
|
||||
.init = sc_init,
|
||||
.enable = southcluster_enable_dev,
|
||||
.scan_bus = scan_static_bus,
|
||||
|
|
|
@ -31,8 +31,6 @@ static void pci_domain_set_resources(struct device *dev)
|
|||
static struct device_operations pci_domain_ops = {
|
||||
.read_resources = pci_domain_read_resources,
|
||||
.set_resources = pci_domain_set_resources,
|
||||
.enable_resources = NULL,
|
||||
.init = NULL,
|
||||
.scan_bus = pci_domain_scan_bus,
|
||||
};
|
||||
|
||||
|
|
|
@ -197,8 +197,6 @@ static const struct device_operations device_ops = {
|
|||
.set_resources = lpe_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = lpe_init,
|
||||
.enable = NULL,
|
||||
.scan_bus = NULL,
|
||||
.ops_pci = &soc_pci_ops,
|
||||
};
|
||||
|
||||
|
|
|
@ -162,8 +162,6 @@ static struct device_operations device_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = lpss_init,
|
||||
.enable = NULL,
|
||||
.scan_bus = NULL,
|
||||
.ops_pci = &soc_pci_ops,
|
||||
};
|
||||
|
||||
|
|
|
@ -572,7 +572,6 @@ void southcluster_enable_dev(struct device *dev)
|
|||
static struct device_operations device_ops = {
|
||||
.read_resources = sc_read_resources,
|
||||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = NULL,
|
||||
.acpi_inject_dsdt = southcluster_inject_dsdt,
|
||||
.write_acpi_tables = southcluster_write_acpi_tables,
|
||||
.init = sc_init,
|
||||
|
|
|
@ -46,7 +46,6 @@ static struct device_operations cpu_bus_ops = {
|
|||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
.init = denverton_init_cpus,
|
||||
.scan_bus = NULL,
|
||||
#if CONFIG(HAVE_ACPI_TABLES)
|
||||
.acpi_fill_ssdt = generate_cpu_entries,
|
||||
#endif
|
||||
|
|
|
@ -69,8 +69,6 @@ static struct device_operations csme_ie_kt_ops = {
|
|||
.read_resources = pci_csme_ie_kt_read_resources,
|
||||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.scan_bus = 0,
|
||||
.init = 0,
|
||||
.ops_pci = &soc_pci_ops,
|
||||
};
|
||||
|
||||
|
|
|
@ -37,7 +37,6 @@ static struct device_operations pmc_ops = {
|
|||
.read_resources = pci_npk_read_resources,
|
||||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.scan_bus = 0,
|
||||
.init = npk_init,
|
||||
.ops_pci = &soc_pci_ops,
|
||||
};
|
||||
|
|
|
@ -104,7 +104,6 @@ static struct device_operations pmc_ops = {
|
|||
.read_resources = pci_pmc_read_resources,
|
||||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.scan_bus = 0,
|
||||
.init = pmc_init,
|
||||
.ops_pci = &soc_pci_ops,
|
||||
};
|
||||
|
|
|
@ -65,7 +65,6 @@ static struct device_operations sata_ops = {
|
|||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = sata_init,
|
||||
.enable = sata_enable,
|
||||
.scan_bus = 0,
|
||||
.ops_pci = &soc_pci_ops,
|
||||
};
|
||||
|
||||
|
|
|
@ -39,7 +39,6 @@ static struct device_operations usb_xhci_ops = {
|
|||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = usb_xhci_init,
|
||||
.enable = pci_dev_enable_resources,
|
||||
.scan_bus = 0,
|
||||
.ops_pci = &soc_pci_ops,
|
||||
};
|
||||
|
||||
|
|
|
@ -35,7 +35,6 @@ static struct device_operations cpu_bus_ops = {
|
|||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
.init = cpx_init_cpus,
|
||||
.scan_bus = NULL,
|
||||
};
|
||||
|
||||
static void chip_enable_dev(struct device *dev)
|
||||
|
|
|
@ -486,7 +486,6 @@ static struct device_operations cpu_bus_ops = {
|
|||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
.init = xeon_sp_init_cpus,
|
||||
.scan_bus = NULL,
|
||||
#if CONFIG(HAVE_ACPI_TABLES)
|
||||
/* defined in src/soc/intel/common/block/acpi/acpi.c */
|
||||
.acpi_fill_ssdt = generate_cpu_entries,
|
||||
|
|
|
@ -287,9 +287,6 @@ static struct device_operations mmapvtd_ops = {
|
|||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = mmapvtd_init,
|
||||
.ops_pci = &soc_pci_ops,
|
||||
#if CONFIG(HAVE_ACPI_TABLES)
|
||||
.acpi_inject_dsdt = NULL,
|
||||
#endif
|
||||
};
|
||||
|
||||
static const unsigned short mmapvtd_ids[] = {
|
||||
|
|
|
@ -57,7 +57,6 @@ static struct device_operations soc_ops = {
|
|||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = soc_enable,
|
||||
.init = soc_init,
|
||||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static void enable_tegra124_dev(struct device *dev)
|
||||
|
|
|
@ -65,7 +65,6 @@ static struct device_operations soc_ops = {
|
|||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = DEVICE_NOOP,
|
||||
.init = DEVICE_NOOP,
|
||||
.scan_bus = NULL,
|
||||
};
|
||||
|
||||
static void enable_tegra210_dev(struct device *dev)
|
||||
|
|
|
@ -38,7 +38,6 @@ static struct device_operations soc_ops = {
|
|||
.read_resources = DEVICE_NOOP,
|
||||
.set_resources = DEVICE_NOOP,
|
||||
.init = soc_init,
|
||||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static void enable_rk3288_dev(struct device *dev)
|
||||
|
|
|
@ -127,7 +127,6 @@ static struct device_operations cpu_ops = {
|
|||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = cpu_enable,
|
||||
.init = cpu_init,
|
||||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static void enable_exynos5250_dev(struct device *dev)
|
||||
|
|
|
@ -157,7 +157,6 @@ static struct device_operations cpu_ops = {
|
|||
.set_resources = DEVICE_NOOP,
|
||||
.enable_resources = cpu_enable,
|
||||
.init = cpu_init,
|
||||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static void enable_exynos5420_dev(struct device *dev)
|
||||
|
|
|
@ -20,7 +20,6 @@ static struct device_operations hda_audio_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = hda_init,
|
||||
.scan_bus = 0,
|
||||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
|
|
|
@ -19,7 +19,6 @@ static struct device_operations ide_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = ide_init,
|
||||
.scan_bus = 0,
|
||||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
|
|
|
@ -49,7 +49,6 @@ static struct device_operations sata_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = sata_init,
|
||||
.scan_bus = 0,
|
||||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
|
|
|
@ -43,7 +43,6 @@ static struct device_operations sd_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = sd_init,
|
||||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static const struct pci_driver sd_driver __pci_driver = {
|
||||
|
|
|
@ -20,7 +20,6 @@ static struct device_operations usb_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = usb_init,
|
||||
.scan_bus = 0,
|
||||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
|
|
|
@ -170,7 +170,6 @@ static struct device_operations sata_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = ahci_raid_init,
|
||||
.scan_bus = 0,
|
||||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
|
@ -195,8 +194,6 @@ static struct device_operations usb_ops = {
|
|||
.read_resources = pci_ehci_read_resources,
|
||||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = 0,
|
||||
.scan_bus = 0,
|
||||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
|
@ -226,8 +223,6 @@ static struct device_operations azalia_ops = {
|
|||
.read_resources = pci_dev_read_resources,
|
||||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = 0,
|
||||
.scan_bus = 0,
|
||||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
|
@ -242,8 +237,6 @@ static struct device_operations gec_ops = {
|
|||
.read_resources = pci_dev_read_resources,
|
||||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = 0,
|
||||
.scan_bus = 0,
|
||||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
|
|
|
@ -26,7 +26,6 @@ static struct device_operations hda_audio_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = hda_init,
|
||||
.scan_bus = 0,
|
||||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
|
|
|
@ -19,7 +19,6 @@ static struct device_operations ide_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = ide_init,
|
||||
.scan_bus = 0,
|
||||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
|
|
|
@ -49,7 +49,6 @@ static struct device_operations sata_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = sata_init,
|
||||
.scan_bus = 0,
|
||||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
|
|
|
@ -44,7 +44,6 @@ static struct device_operations sd_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = sd_init,
|
||||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static const struct pci_driver sd_driver __pci_driver = {
|
||||
|
|
|
@ -20,7 +20,6 @@ static struct device_operations usb_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = usb_init,
|
||||
.scan_bus = 0,
|
||||
.ops_pci = &lops_pci,
|
||||
};
|
||||
|
||||
|
|
|
@ -333,7 +333,6 @@ static struct device_operations azalia_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = azalia_init,
|
||||
.scan_bus = 0,
|
||||
.ops_pci = &azalia_pci_ops,
|
||||
.acpi_name = azalia_acpi_name,
|
||||
};
|
||||
|
|
|
@ -246,7 +246,6 @@ static struct device_operations sata_ops = {
|
|||
.acpi_fill_ssdt = sata_fill_ssdt,
|
||||
.init = sata_init,
|
||||
.enable = sata_enable,
|
||||
.scan_bus = 0,
|
||||
.ops_pci = &sata_pci_ops,
|
||||
.acpi_name = sata_acpi_name,
|
||||
};
|
||||
|
|
|
@ -97,7 +97,6 @@ static struct device_operations usb_ehci_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = usb_ehci_init,
|
||||
.scan_bus = 0,
|
||||
.ops_pci = &lops_pci,
|
||||
.acpi_name = usb_ehci_acpi_name,
|
||||
};
|
||||
|
|
|
@ -53,7 +53,6 @@ static struct device_operations usb_xhci_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = usb_xhci_init,
|
||||
.scan_bus = 0,
|
||||
.ops_pci = &xhci_pci_ops,
|
||||
.acpi_name = xhci_acpi_name,
|
||||
};
|
||||
|
|
|
@ -146,8 +146,6 @@ static const struct device_operations ide_ops_fb_sb = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = ide_init_i82371fb_sb,
|
||||
.scan_bus = 0,
|
||||
.enable = 0,
|
||||
.ops_pci = 0, /* No subsystem IDs on 82371XX! */
|
||||
};
|
||||
|
||||
|
@ -157,8 +155,6 @@ static const struct device_operations ide_ops_ab_eb_mb = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = ide_init_i82371ab_eb_mb,
|
||||
.scan_bus = 0,
|
||||
.enable = 0,
|
||||
.ops_pci = 0, /* No subsystem IDs on 82371XX! */
|
||||
};
|
||||
|
||||
|
|
|
@ -135,7 +135,6 @@ static const struct device_operations isa_ops = {
|
|||
#endif
|
||||
.init = isa_init,
|
||||
.scan_bus = scan_static_bus,
|
||||
.enable = 0,
|
||||
.ops_pci = 0, /* No subsystem IDs on 82371EB! */
|
||||
};
|
||||
|
||||
|
|
|
@ -113,7 +113,6 @@ static const struct device_operations smbus_ops = {
|
|||
.read_resources = pwrmgt_read_resources,
|
||||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = 0,
|
||||
.scan_bus = scan_smbus,
|
||||
.enable = pwrmgt_enable,
|
||||
.ops_pci = 0, /* No subsystem IDs on 82371EB! */
|
||||
|
|
|
@ -37,8 +37,6 @@ static const struct device_operations usb_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = usb_init,
|
||||
.scan_bus = 0,
|
||||
.enable = 0,
|
||||
.ops_pci = 0, /* No subsystem IDs on 82371EB! */
|
||||
};
|
||||
|
||||
|
|
|
@ -241,7 +241,6 @@ static struct device_operations ac97_audio_ops = {
|
|||
.enable_resources = pci_dev_enable_resources,
|
||||
.enable = i82801dx_enable,
|
||||
.init = ac97_audio_init,
|
||||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static struct device_operations ac97_modem_ops = {
|
||||
|
@ -250,7 +249,6 @@ static struct device_operations ac97_modem_ops = {
|
|||
.enable_resources = pci_dev_enable_resources,
|
||||
.enable = i82801dx_enable,
|
||||
.init = ac97_modem_init,
|
||||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
/* 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) */
|
||||
|
|
|
@ -47,7 +47,6 @@ static struct device_operations ide_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = ide_init,
|
||||
.scan_bus = 0,
|
||||
.enable = i82801dx_enable,
|
||||
};
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@ static struct device_operations usb_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = usb_init,
|
||||
.scan_bus = 0,
|
||||
.enable = i82801dx_enable,
|
||||
};
|
||||
|
||||
|
|
|
@ -25,7 +25,6 @@ static struct device_operations usb2_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = usb2_init,
|
||||
.scan_bus = 0,
|
||||
.enable = i82801dx_enable,
|
||||
};
|
||||
|
||||
|
|
|
@ -243,7 +243,6 @@ static struct device_operations ac97_audio_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = ac97_audio_init,
|
||||
.scan_bus = 0,
|
||||
.enable = i82801gx_enable,
|
||||
.ops_pci = &ac97_pci_ops,
|
||||
};
|
||||
|
@ -253,7 +252,6 @@ static struct device_operations ac97_modem_ops = {
|
|||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = ac97_modem_init,
|
||||
.scan_bus = 0,
|
||||
.enable = i82801gx_enable,
|
||||
.ops_pci = &ac97_pci_ops,
|
||||
};
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue