diff options
Diffstat (limited to 'drivers/acpi/resources/rslist.c')
| -rw-r--r-- | drivers/acpi/resources/rslist.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/acpi/resources/rslist.c b/drivers/acpi/resources/rslist.c index a92755c887..ca21e4660c 100644 --- a/drivers/acpi/resources/rslist.c +++ b/drivers/acpi/resources/rslist.c | |||
| @@ -153,10 +153,9 @@ acpi_rs_convert_resources_to_aml(struct acpi_resource *resource, | |||
| 153 | 153 | ||
| 154 | /* Perform the conversion */ | 154 | /* Perform the conversion */ |
| 155 | 155 | ||
| 156 | status = acpi_rs_convert_resource_to_aml(resource, | 156 | status = acpi_rs_convert_resource_to_aml(resource, ACPI_CAST_PTR(union |
| 157 | ACPI_CAST_PTR(union | 157 | aml_resource, |
| 158 | aml_resource, | 158 | aml), |
| 159 | aml), | ||
| 160 | acpi_gbl_set_resource_dispatch | 159 | acpi_gbl_set_resource_dispatch |
| 161 | [resource->type]); | 160 | [resource->type]); |
| 162 | if (ACPI_FAILURE(status)) { | 161 | if (ACPI_FAILURE(status)) { |
