ACPICA: Add __init for ACPICA initializers/finalizers.
This patch adds __init to the ACPICA documented initializers: acpi_initialize_tables() acpi_initialize_subsystem() acpi_load_tables() acpi_enable_subsystem() acpi_initialize_objects() and to acpi_reallocate_root_table(), acpi_find_root_pointer() which are also meant to be called only during initialization. This patch adds __init to the ACPICA documented finalizer: acpi_terminate() as this finalizer is only called in __init function now. This change helps to reduce source code differences between ACPICA upstream and Linux. [rjw: Changelog] Signed-off-by:Lv Zheng <lv.zheng@intel.com> Signed-off-by:
Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Showing
- drivers/acpi/acpica/tbutils.c 1 addition, 2 deletionsdrivers/acpi/acpica/tbutils.c
- drivers/acpi/acpica/tbxface.c 1 addition, 1 deletiondrivers/acpi/acpica/tbxface.c
- drivers/acpi/acpica/tbxfload.c 1 addition, 1 deletiondrivers/acpi/acpica/tbxfload.c
- drivers/acpi/acpica/tbxfroot.c 1 addition, 1 deletiondrivers/acpi/acpica/tbxfroot.c
- drivers/acpi/acpica/utxface.c 1 addition, 1 deletiondrivers/acpi/acpica/utxface.c
- drivers/acpi/acpica/utxfinit.c 3 additions, 3 deletionsdrivers/acpi/acpica/utxfinit.c
- include/acpi/acpixf.h 7 additions, 7 deletionsinclude/acpi/acpixf.h
Please register or sign in to comment