From 8b036e14841cdbb8a8f8f6465bad7ed379accda3 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Thu, 8 Dec 2022 17:29:33 +0100 Subject: 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 Change-Id: Iffefc865901b15fa299931b6ed4c27a9e3a1c330 Reviewed-on: https://review.coreboot.org/c/coreboot/+/78334 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber Reviewed-by: Patrick Rudolph --- src/acpi/acpi.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/acpi/acpi.c') diff --git a/src/acpi/acpi.c b/src/acpi/acpi.c index 0bd82cbdfb..0e4798c448 100644 --- a/src/acpi/acpi.c +++ b/src/acpi/acpi.c @@ -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), -- cgit v1.2.3