device/device.h: Drop acpi_inject_dsdt

This is now unused in the tree and filling SSDT should always be used.

TEST=intel/archercity CRB

Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Change-Id: Iffefc865901b15fa299931b6ed4c27a9e3a1c330
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78334
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Patrick Rudolph <patrick.rudolph@9elements.com>
This commit is contained in:
Arthur Heymans 2022-12-08 17:29:33 +01:00 committed by Lean Sheng Tan
parent cd6fed2da8
commit 8b036e1484
2 changed files with 0 additions and 4 deletions

View File

@ -1362,9 +1362,6 @@ static void acpi_create_dsdt(acpi_header_t *header, void *dsdt_file_arg)
if (CONFIG(CHROMEOS_NVS))
acpi_fill_cnvs();
for (const struct device *dev = all_devices; dev; dev = dev->next)
if (dev->ops && dev->ops->acpi_inject_dsdt)
dev->ops->acpi_inject_dsdt(dev);
current = (unsigned long)acpigen_get_current();
memcpy((char *)current,
(char *)dsdt_file + sizeof(acpi_header_t),

View File

@ -56,7 +56,6 @@ struct device_operations {
unsigned long (*write_acpi_tables)(const struct device *dev,
unsigned long start, struct acpi_rsdp *rsdp);
void (*acpi_fill_ssdt)(const struct device *dev);
void (*acpi_inject_dsdt)(const struct device *dev);
const char *(*acpi_name)(const struct device *dev);
/* Returns the optional _HID (Hardware ID) */
const char *(*acpi_hid)(const struct device *dev);