aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/rsaddr.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2012-07-11 21:40:10 -0400
committerLen Brown <len.brown@intel.com>2012-07-17 00:05:51 -0400
commitba494beeaa69bc0fb01eb89464ad5d57d26e3901 (patch)
tree804996ccb531af38f91853bd9b8055b65cd2ac6b /drivers/acpi/acpica/rsaddr.c
parent75e7386b104b27b1158bf7d13c69d5317f0033ca (diff)
ACPICA: AcpiSrc: Fix some translation issues for Linux conversion
Fixes issues like this: i_aSL -> iASL 00-7_f -> 00-7F local_fADT -> local_FADT execute_oSI -> execute_OSI Also, in function headers, the parameters are now translated to lower case (with underscores if necessary.) Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/rsaddr.c')
-rw-r--r--drivers/acpi/acpica/rsaddr.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/acpi/acpica/rsaddr.c b/drivers/acpi/acpica/rsaddr.c
index a0305652394f..856ff075b6ab 100644
--- a/drivers/acpi/acpica/rsaddr.c
+++ b/drivers/acpi/acpica/rsaddr.c
@@ -182,8 +182,8 @@ struct acpi_rsconvert_info acpi_rs_convert_ext_address64[5] = {
182 182
183 /* Revision ID */ 183 /* Revision ID */
184 184
185 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.ext_address64.revision_iD), 185 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.ext_address64.revision_ID),
186 AML_OFFSET(ext_address64.revision_iD), 186 AML_OFFSET(ext_address64.revision_ID),
187 1}, 187 1},
188 /* 188 /*
189 * These fields are contiguous in both the source and destination: 189 * These fields are contiguous in both the source and destination:
@@ -215,7 +215,7 @@ static struct acpi_rsconvert_info acpi_rs_convert_general_flags[6] = {
215 AML_OFFSET(address.resource_type), 215 AML_OFFSET(address.resource_type),
216 1}, 216 1},
217 217
218 /* General Flags - Consume, Decode, min_fixed, max_fixed */ 218 /* General flags - Consume, Decode, min_fixed, max_fixed */
219 219
220 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.address.producer_consumer), 220 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.address.producer_consumer),
221 AML_OFFSET(address.flags), 221 AML_OFFSET(address.flags),
@@ -293,8 +293,8 @@ static struct acpi_rsconvert_info acpi_rs_convert_io_flags[4] = {
293 * 293 *
294 * FUNCTION: acpi_rs_get_address_common 294 * FUNCTION: acpi_rs_get_address_common
295 * 295 *
296 * PARAMETERS: Resource - Pointer to the internal resource struct 296 * PARAMETERS: resource - Pointer to the internal resource struct
297 * Aml - Pointer to the AML resource descriptor 297 * aml - Pointer to the AML resource descriptor
298 * 298 *
299 * RETURN: TRUE if the resource_type field is OK, FALSE otherwise 299 * RETURN: TRUE if the resource_type field is OK, FALSE otherwise
300 * 300 *
@@ -343,8 +343,8 @@ acpi_rs_get_address_common(struct acpi_resource *resource,
343 * 343 *
344 * FUNCTION: acpi_rs_set_address_common 344 * FUNCTION: acpi_rs_set_address_common
345 * 345 *
346 * PARAMETERS: Aml - Pointer to the AML resource descriptor 346 * PARAMETERS: aml - Pointer to the AML resource descriptor
347 * Resource - Pointer to the internal resource struct 347 * resource - Pointer to the internal resource struct
348 * 348 *
349 * RETURN: None 349 * RETURN: None
350 * 350 *