diff options
| author | Jiang Liu <jiang.liu@huawei.com> | 2013-06-28 12:24:41 -0400 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-07-14 19:33:10 -0400 |
| commit | ebf4df8db0e7e5db9f7fca5fcd0c2b90ac954385 (patch) | |
| tree | a48d19b61780fe028d710e7210c5059a56739d3f /include/acpi | |
| parent | 7d2421f84b445dc48c68d33911f1fd6ce6853ee3 (diff) | |
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, | |||
| 62 | u64 arg); | 62 | u64 arg); |
| 63 | acpi_status acpi_evaluate_ej0(acpi_handle handle); | 63 | acpi_status acpi_evaluate_ej0(acpi_handle handle); |
| 64 | acpi_status acpi_evaluate_lck(acpi_handle handle, int lock); | 64 | acpi_status acpi_evaluate_lck(acpi_handle handle, int lock); |
| 65 | bool acpi_ata_match(acpi_handle handle); | ||
| 66 | bool acpi_bay_match(acpi_handle handle); | ||
| 67 | bool acpi_dock_match(acpi_handle handle); | ||
| 65 | 68 | ||
| 66 | #ifdef CONFIG_ACPI | 69 | #ifdef CONFIG_ACPI |
| 67 | 70 | ||
