diff options
author | Lv Zheng <lv.zheng@intel.com> | 2012-10-30 22:25:36 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2012-11-14 18:31:23 -0500 |
commit | 644ef74e6d187ca2e8a23ff41a513964de36f93e (patch) | |
tree | e9dff693037687f98ef7027f2f65f0f79fe5ac15 /include/acpi | |
parent | 78e25fef2751434f38c7f711ecbf8762f79f7318 (diff) |
ACPICA: Fix AcpiSrc caused divergences.
There are definitions that can been converted into new styles by
the recent AcpiSrc while they remain the old styles in the Linux.
This patch fixes those definitions that will be converted by the
AcpiSrc.
This patch will not affect the generated vmlinux binary.
This will decrease 97 lines of 20120913 divergence.diff.
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi')
-rw-r--r-- | include/acpi/acpixf.h | 2 | ||||
-rw-r--r-- | include/acpi/actypes.h | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index 8b891dbead66..352fd1a38321 100644 --- a/include/acpi/acpixf.h +++ b/include/acpi/acpixf.h | |||
@@ -274,7 +274,7 @@ acpi_install_initialization_handler(acpi_init_handler handler, u32 function); | |||
274 | 274 | ||
275 | ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status | 275 | ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status |
276 | acpi_install_global_event_handler | 276 | acpi_install_global_event_handler |
277 | (ACPI_GBL_EVENT_HANDLER handler, void *context)) | 277 | (acpi_gbl_event_handler handler, void *context)) |
278 | 278 | ||
279 | ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status | 279 | ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status |
280 | acpi_install_fixed_event_handler(u32 | 280 | acpi_install_fixed_event_handler(u32 |
diff --git a/include/acpi/actypes.h b/include/acpi/actypes.h index 7520f420e4ee..ea50a314e552 100644 --- a/include/acpi/actypes.h +++ b/include/acpi/actypes.h | |||
@@ -796,11 +796,11 @@ typedef u8 acpi_adr_space_type; | |||
796 | 796 | ||
797 | /* Sleep function dispatch */ | 797 | /* Sleep function dispatch */ |
798 | 798 | ||
799 | typedef acpi_status(*ACPI_SLEEP_FUNCTION) (u8 sleep_state); | 799 | typedef acpi_status(*acpi_sleep_function) (u8 sleep_state); |
800 | 800 | ||
801 | struct acpi_sleep_functions { | 801 | struct acpi_sleep_functions { |
802 | ACPI_SLEEP_FUNCTION legacy_function; | 802 | acpi_sleep_function legacy_function; |
803 | ACPI_SLEEP_FUNCTION extended_function; | 803 | acpi_sleep_function extended_function; |
804 | }; | 804 | }; |
805 | 805 | ||
806 | /* | 806 | /* |
@@ -931,7 +931,7 @@ typedef void | |||
931 | * Various handlers and callback procedures | 931 | * Various handlers and callback procedures |
932 | */ | 932 | */ |
933 | typedef | 933 | typedef |
934 | void (*ACPI_GBL_EVENT_HANDLER) (u32 event_type, | 934 | void (*acpi_gbl_event_handler) (u32 event_type, |
935 | acpi_handle device, | 935 | acpi_handle device, |
936 | u32 event_number, void *context); | 936 | u32 event_number, void *context); |
937 | 937 | ||