diff options
author | Lv Zheng <lv.zheng@intel.com> | 2013-10-31 09:31:24 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-10-31 14:37:36 +0100 |
commit | 45c9f78b25ad9ce6cdf259ac4b652e6783adcb23 (patch) | |
tree | 1bfbffe12dca603ba2b6474f9e66a19656275c34 /drivers/mtd/mtdcore.h | |
parent | 40bce100cafb945f1fb5475a70628b4379c74f38 (diff) |
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>
Diffstat (limited to 'drivers/mtd/mtdcore.h')
0 files changed, 0 insertions, 0 deletions