summaryrefslogtreecommitdiff
path: root/arch/ia64/kernel/acpi-ext.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ia64/kernel/acpi-ext.c')
-rw-r--r--arch/ia64/kernel/acpi-ext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/acpi-ext.c b/arch/ia64/kernel/acpi-ext.c
index 13a5b3b49bf..a146016d7ad 100644
--- a/arch/ia64/kernel/acpi-ext.c
+++ b/arch/ia64/kernel/acpi-ext.c
@@ -35,7 +35,7 @@ acpi_vendor_resource_match(struct acpi_resource *resource, void *context)
struct acpi_vendor_descriptor *descriptor;
u32 length;
- if (resource->id != ACPI_RSTYPE_VENDOR)
+ if (resource->type != ACPI_RSTYPE_VENDOR)
return AE_OK;
vendor = (struct acpi_resource_vendor *)&resource->data;