diff options
author | Jiang Liu <jiang.liu@huawei.com> | 2013-06-29 00:24:41 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-07-15 01:33:10 +0200 |
commit | ebf4df8db0e7e5db9f7fca5fcd0c2b90ac954385 (patch) | |
tree | a48d19b61780fe028d710e7210c5059a56739d3f /include/acpi | |
parent | 7d2421f84b445dc48c68d33911f1fd6ce6853ee3 (diff) | |
download | linux-ebf4df8db0e7e5db9f7fca5fcd0c2b90ac954385.tar.gz linux-ebf4df8db0e7e5db9f7fca5fcd0c2b90ac954385.tar.bz2 linux-ebf4df8db0e7e5db9f7fca5fcd0c2b90ac954385.zip |
ACPI: Export acpi_(bay)|(dock)_match() from scan.c
Functions acpi_dock_match() and acpi_bay_match() in scan.c can be
shared with dock.c to reduce code duplication, so export them as
global functions.
Also add a new function acpi_ata_match() to check whether an ACPI
device object represents an ATA device.
[rjw: Changelog]
Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi')
-rw-r--r-- | include/acpi/acpi_bus.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index f499157b04e8..facc0ba6dd21 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h @@ -62,6 +62,9 @@ acpi_status acpi_execute_simple_method(acpi_handle handle, char *method, u64 arg); acpi_status acpi_evaluate_ej0(acpi_handle handle); acpi_status acpi_evaluate_lck(acpi_handle handle, int lock); +bool acpi_ata_match(acpi_handle handle); +bool acpi_bay_match(acpi_handle handle); +bool acpi_dock_match(acpi_handle handle); #ifdef CONFIG_ACPI |