diff --git a/drivers/acpi/tables.c b/drivers/acpi/tables.c index 55361686ef0439d4735589a070e20db2d691f3ae..7231b8dccbc6e612bddab3431a348fcac1112ce4 100644 --- a/drivers/acpi/tables.c +++ b/drivers/acpi/tables.c @@ -713,8 +713,10 @@ acpi_os_physical_table_override(struct acpi_table_header *existing_table, table_length); } +#ifdef CONFIG_ACPI_CUSTOM_DSDT static void *amlcode __attribute__ ((weakref("AmlCode"))); static void *dsdt_amlcode __attribute__ ((weakref("dsdt_aml_code"))); +#endif acpi_status acpi_os_table_override(struct acpi_table_header *existing_table,