diff options
author | John Keller <jpk@sgi.com> | 2006-12-19 12:56:19 -0800 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-12-20 01:51:14 -0500 |
commit | 0f0fe1a08aa421266060ac67e50453a06d9ceb63 (patch) | |
tree | adba2e86e815a35fc05b6fd5e5a55362974a444a /drivers/acpi/battery.c | |
parent | f238085415c56618e042252894f2fcc971add645 (diff) | |
download | linux-0f0fe1a08aa421266060ac67e50453a06d9ceb63.tar.gz linux-0f0fe1a08aa421266060ac67e50453a06d9ceb63.tar.bz2 linux-0f0fe1a08aa421266060ac67e50453a06d9ceb63.zip |
ACPI: Add support for acpi_load_table/acpi_unload_table_id
Make acpi_load_table() available for use by removing it from the #ifdef
ACPI_FUTURE_USAGE.
Also add a new routine used to unload an ACPI table of a given type and "id" -
acpi_unload_table_id(). The implementation of this new routine was almost a
direct copy of existing routine acpi_unload_table() - only difference being
that it only removes a specific table id instead of ALL tables of a given
type. The SN hotplug driver (sgi_hotplug.c) now uses both of these interfaces
to dynamically load and unload SSDT ACPI tables.
Also, a few other ACPI routines now used by the SN hotplug driver are exported
(since the driver can be a loadable module):
acpi_ns_map_handle_to_node
acpi_ns_convert_entry_to_handle
acpi_ns_get_next_node
Signed-off-by: Aaron Young <ayoung@sgi.com>
Cc: Greg KH <greg@kroah.com>
Cc: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/battery.c')
0 files changed, 0 insertions, 0 deletions