Commit 7f048801 authored by Len Brown's avatar Len Brown

ACPI: ia64 buildfix

Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent ec7381d6
...@@ -497,7 +497,7 @@ zx1_gart_probe (acpi_handle obj, u32 depth, void *context, void **ret) ...@@ -497,7 +497,7 @@ zx1_gart_probe (acpi_handle obj, u32 depth, void *context, void **ret)
info = buffer.pointer; info = buffer.pointer;
info->hardware_id.value[sizeof(info->hardware_id)-1] = '\0'; info->hardware_id.value[sizeof(info->hardware_id)-1] = '\0';
match = (strcmp(info->hardware_id.value, "HWP0001") == 0); match = (strcmp(info->hardware_id.value, "HWP0001") == 0);
ACPI_MEM_FREE(info); kfree(info);
if (match) { if (match) {
status = hp_acpi_csr_space(handle, &sba_hpa, &length); status = hp_acpi_csr_space(handle, &sba_hpa, &length);
if (ACPI_SUCCESS(status)) if (ACPI_SUCCESS(status))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment