soc/{amd,intel}: Remove needless '&' on function pointers
Change-Id: I7a59fd2f370d2b0d830ca83be9a9bc1abe2750f5 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/29862 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Alex Thiessen <alex.thiessen.de+coreboot@gmail.com>
This commit is contained in:
parent
b28d8b68ba
commit
1d19127330
|
@ -148,9 +148,9 @@ static void soc_final(void *chip_info)
|
||||||
|
|
||||||
struct chip_operations soc_amd_stoneyridge_ops = {
|
struct chip_operations soc_amd_stoneyridge_ops = {
|
||||||
CHIP_NAME("AMD StoneyRidge SOC")
|
CHIP_NAME("AMD StoneyRidge SOC")
|
||||||
.enable_dev = &enable_dev,
|
.enable_dev = enable_dev,
|
||||||
.init = &soc_init,
|
.init = soc_init,
|
||||||
.final = &soc_final
|
.final = soc_final
|
||||||
};
|
};
|
||||||
|
|
||||||
static void earliest_ramstage(void *unused)
|
static void earliest_ramstage(void *unused)
|
||||||
|
|
|
@ -679,9 +679,9 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *silupd)
|
||||||
|
|
||||||
struct chip_operations soc_intel_apollolake_ops = {
|
struct chip_operations soc_intel_apollolake_ops = {
|
||||||
CHIP_NAME("Intel Apollolake SOC")
|
CHIP_NAME("Intel Apollolake SOC")
|
||||||
.enable_dev = &enable_dev,
|
.enable_dev = enable_dev,
|
||||||
.init = &soc_init,
|
.init = soc_init,
|
||||||
.final = &soc_final
|
.final = soc_final
|
||||||
};
|
};
|
||||||
|
|
||||||
static void drop_privilege_all(void)
|
static void drop_privilege_all(void)
|
||||||
|
|
|
@ -142,10 +142,10 @@ static void adsp_init(struct device *dev)
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct device_operations adsp_ops = {
|
static struct device_operations adsp_ops = {
|
||||||
.read_resources = &pci_dev_read_resources,
|
.read_resources = pci_dev_read_resources,
|
||||||
.set_resources = &pci_dev_set_resources,
|
.set_resources = pci_dev_set_resources,
|
||||||
.enable_resources = &pci_dev_enable_resources,
|
.enable_resources = pci_dev_enable_resources,
|
||||||
.init = &adsp_init,
|
.init = adsp_init,
|
||||||
.ops_pci = &broadwell_pci_ops,
|
.ops_pci = &broadwell_pci_ops,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -58,11 +58,11 @@ static struct pci_operations ehci_ops_pci = {
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct device_operations usb_ehci_ops = {
|
static struct device_operations usb_ehci_ops = {
|
||||||
.read_resources = &pci_ehci_read_resources,
|
.read_resources = pci_ehci_read_resources,
|
||||||
.set_resources = &pci_dev_set_resources,
|
.set_resources = pci_dev_set_resources,
|
||||||
.enable_resources = &pci_dev_enable_resources,
|
.enable_resources = pci_dev_enable_resources,
|
||||||
.ops_pci = &ehci_ops_pci,
|
.ops_pci = &ehci_ops_pci,
|
||||||
.enable = &ehci_enable,
|
.enable = ehci_enable,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const unsigned short pci_device_ids[] = {
|
static const unsigned short pci_device_ids[] = {
|
||||||
|
|
|
@ -279,11 +279,11 @@ static void sata_enable(struct device *dev)
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct device_operations sata_ops = {
|
static struct device_operations sata_ops = {
|
||||||
.read_resources = &pci_dev_read_resources,
|
.read_resources = pci_dev_read_resources,
|
||||||
.set_resources = &pci_dev_set_resources,
|
.set_resources = pci_dev_set_resources,
|
||||||
.enable_resources = &pci_dev_enable_resources,
|
.enable_resources = pci_dev_enable_resources,
|
||||||
.init = &sata_init,
|
.init = sata_init,
|
||||||
.enable = &sata_enable,
|
.enable = sata_enable,
|
||||||
.ops_pci = &broadwell_pci_ops,
|
.ops_pci = &broadwell_pci_ops,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -86,11 +86,11 @@ static void smbus_read_resources(struct device *dev)
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct device_operations smbus_ops = {
|
static struct device_operations smbus_ops = {
|
||||||
.read_resources = &smbus_read_resources,
|
.read_resources = smbus_read_resources,
|
||||||
.set_resources = &pci_dev_set_resources,
|
.set_resources = pci_dev_set_resources,
|
||||||
.enable_resources = &pci_dev_enable_resources,
|
.enable_resources = pci_dev_enable_resources,
|
||||||
.scan_bus = &scan_smbus,
|
.scan_bus = scan_smbus,
|
||||||
.init = &pch_smbus_init,
|
.init = pch_smbus_init,
|
||||||
.ops_smbus_bus = &lops_smbus_bus,
|
.ops_smbus_bus = &lops_smbus_bus,
|
||||||
.ops_pci = &broadwell_pci_ops,
|
.ops_pci = &broadwell_pci_ops,
|
||||||
};
|
};
|
||||||
|
|
|
@ -439,11 +439,11 @@ static void systemagent_init(struct device *dev)
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct device_operations systemagent_ops = {
|
static struct device_operations systemagent_ops = {
|
||||||
.read_resources = &systemagent_read_resources,
|
.read_resources = systemagent_read_resources,
|
||||||
.acpi_fill_ssdt_generator = &generate_cpu_entries,
|
.acpi_fill_ssdt_generator = generate_cpu_entries,
|
||||||
.set_resources = &pci_dev_set_resources,
|
.set_resources = pci_dev_set_resources,
|
||||||
.enable_resources = &pci_dev_enable_resources,
|
.enable_resources = pci_dev_enable_resources,
|
||||||
.init = &systemagent_init,
|
.init = systemagent_init,
|
||||||
.ops_pci = &broadwell_pci_ops,
|
.ops_pci = &broadwell_pci_ops,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -216,11 +216,11 @@ static void xhci_init(struct device *dev)
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct device_operations usb_xhci_ops = {
|
static struct device_operations usb_xhci_ops = {
|
||||||
.read_resources = &pci_dev_read_resources,
|
.read_resources = pci_dev_read_resources,
|
||||||
.set_resources = &pci_dev_set_resources,
|
.set_resources = pci_dev_set_resources,
|
||||||
.enable_resources = &pci_dev_enable_resources,
|
.enable_resources = pci_dev_enable_resources,
|
||||||
.ops_pci = &broadwell_pci_ops,
|
.ops_pci = &broadwell_pci_ops,
|
||||||
.init = &xhci_init,
|
.init = xhci_init,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const unsigned short pci_device_ids[] = {
|
static const unsigned short pci_device_ids[] = {
|
||||||
|
|
|
@ -19,11 +19,11 @@
|
||||||
#include <device/pci_ids.h>
|
#include <device/pci_ids.h>
|
||||||
|
|
||||||
static struct device_operations dsp_dev_ops = {
|
static struct device_operations dsp_dev_ops = {
|
||||||
.read_resources = &pci_dev_read_resources,
|
.read_resources = pci_dev_read_resources,
|
||||||
.set_resources = &pci_dev_set_resources,
|
.set_resources = pci_dev_set_resources,
|
||||||
.enable_resources = &pci_dev_enable_resources,
|
.enable_resources = pci_dev_enable_resources,
|
||||||
.ops_pci = &pci_dev_ops_pci,
|
.ops_pci = &pci_dev_ops_pci,
|
||||||
.scan_bus = &scan_static_bus,
|
.scan_bus = scan_static_bus,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const unsigned short pci_device_ids[] = {
|
static const unsigned short pci_device_ids[] = {
|
||||||
|
|
|
@ -61,14 +61,14 @@ static void hda_init(struct device *dev)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static struct device_operations hda_ops = {
|
static struct device_operations hda_ops = {
|
||||||
.read_resources = &pci_dev_read_resources,
|
.read_resources = pci_dev_read_resources,
|
||||||
.set_resources = &pci_dev_set_resources,
|
.set_resources = pci_dev_set_resources,
|
||||||
.enable_resources = &pci_dev_enable_resources,
|
.enable_resources = pci_dev_enable_resources,
|
||||||
#if IS_ENABLED(CONFIG_SOC_INTEL_COMMON_BLOCK_HDA_VERB)
|
#if IS_ENABLED(CONFIG_SOC_INTEL_COMMON_BLOCK_HDA_VERB)
|
||||||
.init = &hda_init,
|
.init = hda_init,
|
||||||
#endif
|
#endif
|
||||||
.ops_pci = &pci_dev_ops_pci,
|
.ops_pci = &pci_dev_ops_pci,
|
||||||
.scan_bus = &scan_static_bus,
|
.scan_bus = scan_static_bus,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const unsigned short pci_device_ids[] = {
|
static const unsigned short pci_device_ids[] = {
|
||||||
|
|
|
@ -170,14 +170,14 @@ static void dw_i2c_device_init(struct device *dev)
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct device_operations i2c_dev_ops = {
|
static struct device_operations i2c_dev_ops = {
|
||||||
.read_resources = &pci_dev_read_resources,
|
.read_resources = pci_dev_read_resources,
|
||||||
.set_resources = &pci_dev_set_resources,
|
.set_resources = pci_dev_set_resources,
|
||||||
.enable_resources = &pci_dev_enable_resources,
|
.enable_resources = pci_dev_enable_resources,
|
||||||
.scan_bus = &scan_smbus,
|
.scan_bus = scan_smbus,
|
||||||
.ops_i2c_bus = &dw_i2c_bus_ops,
|
.ops_i2c_bus = &dw_i2c_bus_ops,
|
||||||
.ops_pci = &pci_dev_ops_pci,
|
.ops_pci = &pci_dev_ops_pci,
|
||||||
.init = &dw_i2c_device_init,
|
.init = dw_i2c_device_init,
|
||||||
.acpi_fill_ssdt_generator = &dw_i2c_acpi_fill_ssdt,
|
.acpi_fill_ssdt_generator = dw_i2c_acpi_fill_ssdt,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const unsigned short pci_device_ids[] = {
|
static const unsigned short pci_device_ids[] = {
|
||||||
|
|
|
@ -112,12 +112,12 @@ void pmc_set_acpi_mode(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct device_operations device_ops = {
|
static struct device_operations device_ops = {
|
||||||
.read_resources = &pch_pmc_read_resources,
|
.read_resources = pch_pmc_read_resources,
|
||||||
.set_resources = &pci_dev_set_resources,
|
.set_resources = pci_dev_set_resources,
|
||||||
.enable_resources = &pci_dev_enable_resources,
|
.enable_resources = pci_dev_enable_resources,
|
||||||
.init = &pmc_soc_init,
|
.init = pmc_soc_init,
|
||||||
.ops_pci = &pci_dev_ops_pci,
|
.ops_pci = &pci_dev_ops_pci,
|
||||||
.scan_bus = &scan_lpc_bus,
|
.scan_bus = scan_lpc_bus,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const unsigned short pci_device_ids[] = {
|
static const unsigned short pci_device_ids[] = {
|
||||||
|
|
|
@ -62,9 +62,9 @@ static void sata_final(struct device *dev)
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct device_operations sata_ops = {
|
static struct device_operations sata_ops = {
|
||||||
.read_resources = &pci_dev_read_resources,
|
.read_resources = pci_dev_read_resources,
|
||||||
.set_resources = &pci_dev_set_resources,
|
.set_resources = pci_dev_set_resources,
|
||||||
.enable_resources = &pci_dev_enable_resources,
|
.enable_resources = pci_dev_enable_resources,
|
||||||
.final = sata_final,
|
.final = sata_final,
|
||||||
.ops_pci = &pci_dev_ops_pci,
|
.ops_pci = &pci_dev_ops_pci,
|
||||||
};
|
};
|
||||||
|
|
|
@ -56,11 +56,11 @@ static void sd_fill_ssdt(struct device *dev)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static struct device_operations dev_ops = {
|
static struct device_operations dev_ops = {
|
||||||
.read_resources = &pci_dev_read_resources,
|
.read_resources = pci_dev_read_resources,
|
||||||
.set_resources = &pci_dev_set_resources,
|
.set_resources = pci_dev_set_resources,
|
||||||
.enable_resources = &pci_dev_enable_resources,
|
.enable_resources = pci_dev_enable_resources,
|
||||||
#if IS_ENABLED(CONFIG_HAVE_ACPI_TABLES)
|
#if IS_ENABLED(CONFIG_HAVE_ACPI_TABLES)
|
||||||
.acpi_fill_ssdt_generator = &sd_fill_ssdt,
|
.acpi_fill_ssdt_generator = sd_fill_ssdt,
|
||||||
#endif
|
#endif
|
||||||
.ops_pci = &pci_dev_ops_pci,
|
.ops_pci = &pci_dev_ops_pci,
|
||||||
};
|
};
|
||||||
|
|
|
@ -78,11 +78,11 @@ static void smbus_read_resources(struct device *dev)
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct device_operations smbus_ops = {
|
static struct device_operations smbus_ops = {
|
||||||
.read_resources = &smbus_read_resources,
|
.read_resources = smbus_read_resources,
|
||||||
.set_resources = &pci_dev_set_resources,
|
.set_resources = pci_dev_set_resources,
|
||||||
.enable_resources = &pci_dev_enable_resources,
|
.enable_resources = pci_dev_enable_resources,
|
||||||
.scan_bus = &scan_smbus,
|
.scan_bus = scan_smbus,
|
||||||
.init = &pch_smbus_init,
|
.init = pch_smbus_init,
|
||||||
.ops_pci = &pci_dev_ops_pci,
|
.ops_pci = &pci_dev_ops_pci,
|
||||||
.ops_smbus_bus = &lops_smbus_bus,
|
.ops_smbus_bus = &lops_smbus_bus,
|
||||||
};
|
};
|
||||||
|
|
|
@ -44,10 +44,10 @@ static struct spi_bus_operations spi_bus_ops = {
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct device_operations spi_dev_ops = {
|
static struct device_operations spi_dev_ops = {
|
||||||
.read_resources = &pci_dev_read_resources,
|
.read_resources = pci_dev_read_resources,
|
||||||
.set_resources = &pci_dev_set_resources,
|
.set_resources = pci_dev_set_resources,
|
||||||
.enable_resources = &pci_dev_enable_resources,
|
.enable_resources = pci_dev_enable_resources,
|
||||||
.scan_bus = &scan_generic_bus,
|
.scan_bus = scan_generic_bus,
|
||||||
.ops_spi_bus = &spi_bus_ops,
|
.ops_spi_bus = &spi_bus_ops,
|
||||||
.ops_pci = &pci_dev_ops_pci,
|
.ops_pci = &pci_dev_ops_pci,
|
||||||
};
|
};
|
||||||
|
|
|
@ -278,9 +278,9 @@ void enable_power_aware_intr(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct device_operations systemagent_ops = {
|
static struct device_operations systemagent_ops = {
|
||||||
.read_resources = &systemagent_read_resources,
|
.read_resources = systemagent_read_resources,
|
||||||
.set_resources = &pci_dev_set_resources,
|
.set_resources = pci_dev_set_resources,
|
||||||
.enable_resources = &pci_dev_enable_resources,
|
.enable_resources = pci_dev_enable_resources,
|
||||||
.init = soc_systemagent_init,
|
.init = soc_systemagent_init,
|
||||||
.ops_pci = &pci_dev_ops_pci,
|
.ops_pci = &pci_dev_ops_pci,
|
||||||
};
|
};
|
||||||
|
|
|
@ -235,9 +235,9 @@ static void uart_common_enable_resources(struct device *dev)
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct device_operations device_ops = {
|
static struct device_operations device_ops = {
|
||||||
.read_resources = &uart_read_resources,
|
.read_resources = uart_read_resources,
|
||||||
.set_resources = &pci_dev_set_resources,
|
.set_resources = pci_dev_set_resources,
|
||||||
.enable_resources = &uart_common_enable_resources,
|
.enable_resources = uart_common_enable_resources,
|
||||||
.ops_pci = &pci_dev_ops_pci,
|
.ops_pci = &pci_dev_ops_pci,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -29,9 +29,9 @@ int xdci_can_enable(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct device_operations usb_xdci_ops = {
|
static struct device_operations usb_xdci_ops = {
|
||||||
.read_resources = &pci_dev_read_resources,
|
.read_resources = pci_dev_read_resources,
|
||||||
.set_resources = &pci_dev_set_resources,
|
.set_resources = pci_dev_set_resources,
|
||||||
.enable_resources = &pci_dev_enable_resources,
|
.enable_resources = pci_dev_enable_resources,
|
||||||
.init = soc_xdci_init,
|
.init = soc_xdci_init,
|
||||||
.ops_pci = &pci_dev_ops_pci,
|
.ops_pci = &pci_dev_ops_pci,
|
||||||
};
|
};
|
||||||
|
|
|
@ -24,14 +24,14 @@
|
||||||
__weak void soc_xhci_init(struct device *dev) { /* no-op */ }
|
__weak void soc_xhci_init(struct device *dev) { /* no-op */ }
|
||||||
|
|
||||||
static struct device_operations usb_xhci_ops = {
|
static struct device_operations usb_xhci_ops = {
|
||||||
.read_resources = &pci_dev_read_resources,
|
.read_resources = pci_dev_read_resources,
|
||||||
.set_resources = &pci_dev_set_resources,
|
.set_resources = pci_dev_set_resources,
|
||||||
.enable_resources = &pci_dev_enable_resources,
|
.enable_resources = pci_dev_enable_resources,
|
||||||
.init = soc_xhci_init,
|
.init = soc_xhci_init,
|
||||||
.ops_pci = &pci_dev_ops_pci,
|
.ops_pci = &pci_dev_ops_pci,
|
||||||
.scan_bus = &scan_usb_bus,
|
.scan_bus = scan_usb_bus,
|
||||||
#if IS_ENABLED(CONFIG_HAVE_ACPI_TABLES)
|
#if IS_ENABLED(CONFIG_HAVE_ACPI_TABLES)
|
||||||
.acpi_name = &soc_acpi_name,
|
.acpi_name = soc_acpi_name,
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -123,9 +123,9 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *silupd)
|
||||||
|
|
||||||
struct chip_operations soc_intel_denverton_ns_ops = {
|
struct chip_operations soc_intel_denverton_ns_ops = {
|
||||||
CHIP_NAME("Intel Denverton-NS SOC")
|
CHIP_NAME("Intel Denverton-NS SOC")
|
||||||
.enable_dev = &soc_enable_dev,
|
.enable_dev = soc_enable_dev,
|
||||||
.init = &soc_init,
|
.init = soc_init,
|
||||||
.final = &soc_final
|
.final = soc_final
|
||||||
};
|
};
|
||||||
|
|
||||||
static void soc_set_subsystem(struct device *dev, uint32_t vendor,
|
static void soc_set_subsystem(struct device *dev, uint32_t vendor,
|
||||||
|
|
|
@ -335,10 +335,10 @@ static void systemagent_init(struct device *dev)
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct device_operations systemagent_ops = {
|
static struct device_operations systemagent_ops = {
|
||||||
.read_resources = &systemagent_read_resources,
|
.read_resources = systemagent_read_resources,
|
||||||
.set_resources = &pci_dev_set_resources,
|
.set_resources = pci_dev_set_resources,
|
||||||
.enable_resources = &pci_dev_enable_resources,
|
.enable_resources = pci_dev_enable_resources,
|
||||||
.init = &systemagent_init,
|
.init = systemagent_init,
|
||||||
.ops_pci = &soc_pci_ops,
|
.ops_pci = &soc_pci_ops,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -75,12 +75,12 @@ static struct smbus_bus_operations lops_smbus_bus = {
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct device_operations smbus_ops = {
|
static struct device_operations smbus_ops = {
|
||||||
.read_resources = &pci_dev_read_resources,
|
.read_resources = pci_dev_read_resources,
|
||||||
.set_resources = &pci_dev_set_resources,
|
.set_resources = pci_dev_set_resources,
|
||||||
.enable_resources = &pci_dev_enable_resources,
|
.enable_resources = pci_dev_enable_resources,
|
||||||
.scan_bus = &scan_smbus,
|
.scan_bus = scan_smbus,
|
||||||
.init = &pch_smbus_init,
|
.init = pch_smbus_init,
|
||||||
.enable = &pch_smbus_enable,
|
.enable = pch_smbus_enable,
|
||||||
.ops_smbus_bus = &lops_smbus_bus,
|
.ops_smbus_bus = &lops_smbus_bus,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -50,10 +50,10 @@ static void pmc_read_resources(struct device *dev)
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct device_operations device_ops = {
|
static struct device_operations device_ops = {
|
||||||
.read_resources = &pmc_read_resources,
|
.read_resources = pmc_read_resources,
|
||||||
.set_resources = &pci_dev_set_resources,
|
.set_resources = pci_dev_set_resources,
|
||||||
.enable_resources = &pci_dev_enable_resources,
|
.enable_resources = pci_dev_enable_resources,
|
||||||
.scan_bus = &scan_lpc_bus,
|
.scan_bus = scan_lpc_bus,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct pci_driver pmc __pci_driver = {
|
static const struct pci_driver pmc __pci_driver = {
|
||||||
|
|
|
@ -71,9 +71,9 @@ static void nc_read_resources(struct device *dev)
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct device_operations nc_ops = {
|
static struct device_operations nc_ops = {
|
||||||
.read_resources = &nc_read_resources,
|
.read_resources = nc_read_resources,
|
||||||
.set_resources = &pci_dev_set_resources,
|
.set_resources = pci_dev_set_resources,
|
||||||
.enable_resources = &pci_dev_enable_resources,
|
.enable_resources = pci_dev_enable_resources,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct pci_driver systemagent_driver __pci_driver = {
|
static const struct pci_driver systemagent_driver __pci_driver = {
|
||||||
|
|
|
@ -36,9 +36,9 @@ static void uart_read_resources(struct device *dev)
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct device_operations device_ops = {
|
static struct device_operations device_ops = {
|
||||||
.read_resources = &uart_read_resources,
|
.read_resources = uart_read_resources,
|
||||||
.set_resources = &pci_dev_set_resources,
|
.set_resources = pci_dev_set_resources,
|
||||||
.enable_resources = &pci_dev_enable_resources,
|
.enable_resources = pci_dev_enable_resources,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct pci_driver uart_driver __pci_driver = {
|
static const struct pci_driver uart_driver __pci_driver = {
|
||||||
|
|
Loading…
Reference in New Issue