summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/acpi/acpi.c3
-rw-r--r--src/include/device/device.h1
2 files changed, 0 insertions, 4 deletions
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),
diff --git a/src/include/device/device.h b/src/include/device/device.h
index 13870513e1..cd0999ac94 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -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);