diff options
Diffstat (limited to 'drivers/acpi/resources/rsxface.c')
-rw-r--r-- | drivers/acpi/resources/rsxface.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/acpi/resources/rsxface.c b/drivers/acpi/resources/rsxface.c index 1a87c4c7bd97..9d179beb17ae 100644 --- a/drivers/acpi/resources/rsxface.c +++ b/drivers/acpi/resources/rsxface.c | |||
@@ -59,9 +59,9 @@ ACPI_MODULE_NAME("rsxface") | |||
59 | ACPI_COPY_FIELD(out, in, max_address_fixed); \ | 59 | ACPI_COPY_FIELD(out, in, max_address_fixed); \ |
60 | ACPI_COPY_FIELD(out, in, attribute); \ | 60 | ACPI_COPY_FIELD(out, in, attribute); \ |
61 | ACPI_COPY_FIELD(out, in, granularity); \ | 61 | ACPI_COPY_FIELD(out, in, granularity); \ |
62 | ACPI_COPY_FIELD(out, in, min_address_range); \ | 62 | ACPI_COPY_FIELD(out, in, minimum); \ |
63 | ACPI_COPY_FIELD(out, in, max_address_range); \ | 63 | ACPI_COPY_FIELD(out, in, maximum); \ |
64 | ACPI_COPY_FIELD(out, in, address_translation_offset); \ | 64 | ACPI_COPY_FIELD(out, in, translation_offset); \ |
65 | ACPI_COPY_FIELD(out, in, address_length); \ | 65 | ACPI_COPY_FIELD(out, in, address_length); \ |
66 | ACPI_COPY_FIELD(out, in, resource_source); | 66 | ACPI_COPY_FIELD(out, in, resource_source); |
67 | /******************************************************************************* | 67 | /******************************************************************************* |
@@ -269,7 +269,7 @@ acpi_walk_resources(acpi_handle device_handle, | |||
269 | /* Walk the resource list */ | 269 | /* Walk the resource list */ |
270 | 270 | ||
271 | for (;;) { | 271 | for (;;) { |
272 | if (!resource || resource->type == ACPI_RSTYPE_END_TAG) { | 272 | if (!resource || resource->type == ACPI_RESOURCE_TYPE_END_TAG) { |
273 | break; | 273 | break; |
274 | } | 274 | } |
275 | 275 | ||
@@ -382,19 +382,19 @@ acpi_resource_to_address64(struct acpi_resource *resource, | |||
382 | struct acpi_resource_address32 *address32; | 382 | struct acpi_resource_address32 *address32; |
383 | 383 | ||
384 | switch (resource->type) { | 384 | switch (resource->type) { |
385 | case ACPI_RSTYPE_ADDRESS16: | 385 | case ACPI_RESOURCE_TYPE_ADDRESS16: |
386 | 386 | ||
387 | address16 = (struct acpi_resource_address16 *)&resource->data; | 387 | address16 = (struct acpi_resource_address16 *)&resource->data; |
388 | ACPI_COPY_ADDRESS(out, address16); | 388 | ACPI_COPY_ADDRESS(out, address16); |
389 | break; | 389 | break; |
390 | 390 | ||
391 | case ACPI_RSTYPE_ADDRESS32: | 391 | case ACPI_RESOURCE_TYPE_ADDRESS32: |
392 | 392 | ||
393 | address32 = (struct acpi_resource_address32 *)&resource->data; | 393 | address32 = (struct acpi_resource_address32 *)&resource->data; |
394 | ACPI_COPY_ADDRESS(out, address32); | 394 | ACPI_COPY_ADDRESS(out, address32); |
395 | break; | 395 | break; |
396 | 396 | ||
397 | case ACPI_RSTYPE_ADDRESS64: | 397 | case ACPI_RESOURCE_TYPE_ADDRESS64: |
398 | 398 | ||
399 | /* Simple copy for 64 bit source */ | 399 | /* Simple copy for 64 bit source */ |
400 | 400 | ||