diff options
author | Lv Zheng <lv.zheng@intel.com> | 2016-11-30 08:21:26 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-12-01 14:28:22 +0100 |
commit | 170564d90b2e1fee4c85adc691f5b9c92e7813ea (patch) | |
tree | 08be2df5041aca3227594a1a4b9535f5c1b1efc8 /drivers/acpi/acpica/actables.h | |
parent | ACPICA: Tables: Cleanup acpi_tb_install_and_load_table() (diff) | |
download | linux-170564d90b2e1fee4c85adc691f5b9c92e7813ea.tar.xz linux-170564d90b2e1fee4c85adc691f5b9c92e7813ea.zip |
ACPICA: Tables: Add acpi_tb_unload_table()
ACPICA commit 80e24663b212daac0c32767fdbd8a46892292f1f
This patch introduces acpi_tb_unload_table() to eliminate redundant code from
acpi_ex_unload_table() and acpi_unload_parent_table().
No functional change. Lv Zheng.
Link: https://github.com/acpica/acpica/commit/80e24663
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/actables.h')
-rw-r--r-- | drivers/acpi/acpica/actables.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/actables.h b/drivers/acpi/acpica/actables.h index 1850005c5c7a..7dd527f8ca1d 100644 --- a/drivers/acpi/acpica/actables.h +++ b/drivers/acpi/acpica/actables.h @@ -130,6 +130,8 @@ acpi_status acpi_tb_install_and_load_table(acpi_physical_address address, u8 flags, u8 override, u32 *table_index); +acpi_status acpi_tb_unload_table(u32 table_index); + void acpi_tb_terminate(void); acpi_status acpi_tb_delete_namespace_by_owner(u32 table_index); |