diff options
author | Lv Zheng <lv.zheng@intel.com> | 2016-05-03 04:49:01 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-05-04 18:13:53 -0400 |
commit | e5f660ebef68e3ed1a988ad06ba23562153cee5c (patch) | |
tree | 0209aa2078743b40d9d4819c51dae3de9c450d43 /drivers/acpi/internal.h | |
parent | d5a91d74c6d7da2cebadbb9f2d03e56f84d7be62 (diff) |
ACPI / osi: Collect _OSI handling into one single file
_OSI handling code grows giant and it's time to move them into one file.
This patch collects all _OSI handling code into one single file.
So that we only have the following functions to be used externally:
early_acpi_osi_init(): Used by DMI detections;
acpi_osi_init(): Used to initialize OSI command line settings and install
Linux specific _OSI handler;
acpi_osi_setup(): The API that should be used by the external quirks.
acpi_osi_is_win8(): The API is used by the external drivers to determine
if BIOS supports Win8.
CONFIG_DMI is not useful as stub dmi_check_system() can make everything
stub because of strip.
No functional changes.
Tested-by: Lukas Wunner <lukas@wunner.de>
Tested-by: Chen Yu <yu.c.chen@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/internal.h')
-rw-r--r-- | drivers/acpi/internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/internal.h b/drivers/acpi/internal.h index 7c188472d9c2..a8780a2e1975 100644 --- a/drivers/acpi/internal.h +++ b/drivers/acpi/internal.h | |||
@@ -20,6 +20,8 @@ | |||
20 | 20 | ||
21 | #define PREFIX "ACPI: " | 21 | #define PREFIX "ACPI: " |
22 | 22 | ||
23 | int early_acpi_osi_init(void); | ||
24 | int acpi_osi_init(void); | ||
23 | void acpi_initrd_initialize_tables(void); | 25 | void acpi_initrd_initialize_tables(void); |
24 | acpi_status acpi_os_initialize1(void); | 26 | acpi_status acpi_os_initialize1(void); |
25 | void init_acpi_device_notify(void); | 27 | void init_acpi_device_notify(void); |