aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2012-10-30 22:25:45 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2012-11-14 18:31:23 -0500
commit1f86e8c1c9f129d450fd75e42d25ddba69a522ac (patch)
tree55b079e60273789f0340818dc32ed495183dde4c /include/acpi
parent644ef74e6d187ca2e8a23ff41a513964de36f93e (diff)
ACPICA: Fix indent caused divergences.
New version of "indent" program will generate different outputs that will lead to the divergences between the Linux and the ACPICA. This patch fixes such divergences caused by the "indent" program. The version of the "indent" used for this patch is "GNU indent 2.2.11". This patch will not affect the generated vmlinux binary. This will decrease 581 lines of 20120913 divergence.diff. Signed-off-by: Robert Moore <robert.moore@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 'include/acpi')
-rw-r--r--include/acpi/acpixf.h13
-rw-r--r--include/acpi/actypes.h6
2 files changed, 9 insertions, 10 deletions
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h
index 352fd1a38321..fe84aee5df47 100644
--- a/include/acpi/acpixf.h
+++ b/include/acpi/acpixf.h
@@ -178,8 +178,7 @@ acpi_status acpi_unload_table_id(acpi_owner_id id);
178 178
179acpi_status 179acpi_status
180acpi_get_table_header(acpi_string signature, 180acpi_get_table_header(acpi_string signature,
181 u32 instance, 181 u32 instance, struct acpi_table_header *out_table_header);
182 struct acpi_table_header *out_table_header);
183 182
184acpi_status 183acpi_status
185acpi_get_table_with_size(acpi_string signature, 184acpi_get_table_with_size(acpi_string signature,
@@ -190,8 +189,7 @@ acpi_get_table(acpi_string signature,
190 u32 instance, struct acpi_table_header **out_table); 189 u32 instance, struct acpi_table_header **out_table);
191 190
192acpi_status 191acpi_status
193acpi_get_table_by_index(u32 table_index, 192acpi_get_table_by_index(u32 table_index, struct acpi_table_header **out_table);
194 struct acpi_table_header **out_table);
195 193
196acpi_status 194acpi_status
197acpi_install_table_handler(acpi_tbl_handler handler, void *context); 195acpi_install_table_handler(acpi_tbl_handler handler, void *context);
@@ -300,10 +298,9 @@ ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status
300 u32 gpe_number, 298 u32 gpe_number,
301 acpi_gpe_handler 299 acpi_gpe_handler
302 address)) 300 address))
303acpi_status 301acpi_status acpi_install_notify_handler(acpi_handle device, u32 handler_type,
304acpi_install_notify_handler(acpi_handle device, 302 acpi_notify_handler handler,
305 u32 handler_type, 303 void *context);
306 acpi_notify_handler handler, void *context);
307 304
308acpi_status 305acpi_status
309acpi_remove_notify_handler(acpi_handle device, 306acpi_remove_notify_handler(acpi_handle device,
diff --git a/include/acpi/actypes.h b/include/acpi/actypes.h
index ea50a314e552..1fa6ba123071 100644
--- a/include/acpi/actypes.h
+++ b/include/acpi/actypes.h
@@ -922,7 +922,8 @@ struct acpi_system_info {
922/* 922/*
923 * Types specific to the OS service interfaces 923 * Types specific to the OS service interfaces
924 */ 924 */
925typedef u32(ACPI_SYSTEM_XFACE * acpi_osd_handler) (void *context); 925typedef u32
926 (ACPI_SYSTEM_XFACE * acpi_osd_handler) (void *context);
926 927
927typedef void 928typedef void
928 (ACPI_SYSTEM_XFACE * acpi_osd_exec_callback) (void *context); 929 (ACPI_SYSTEM_XFACE * acpi_osd_exec_callback) (void *context);
@@ -938,7 +939,8 @@ void (*acpi_gbl_event_handler) (u32 event_type,
938#define ACPI_EVENT_TYPE_GPE 0 939#define ACPI_EVENT_TYPE_GPE 0
939#define ACPI_EVENT_TYPE_FIXED 1 940#define ACPI_EVENT_TYPE_FIXED 1
940 941
941typedef u32(*acpi_event_handler) (void *context); 942typedef
943u32(*acpi_event_handler) (void *context);
942 944
943typedef 945typedef
944u32 (*acpi_gpe_handler) (acpi_handle gpe_device, u32 gpe_number, void *context); 946u32 (*acpi_gpe_handler) (acpi_handle gpe_device, u32 gpe_number, void *context);