From: MAEDA Naoaki Date: Wed, 30 Nov 2005 23:00:24 +0000 (-0500) Subject: [ACPI] ia64 build fix X-Git-Tag: v2.6.16.28-rc1~830^2~14^2~20 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c780f964902a8c4e7f702ff3e0a2b754e82b3ca3;p=karo-tx-linux.git [ACPI] ia64 build fix arch/ia64/kernel/acpi-ext.c: In function `acpi_vendor_resource_match': arch/ia64/kernel/acpi-ext.c:38: error: structure has no member named `id' Signed-off-by: MAEDA Naoaki Signed-off-by: Andrew Morton Signed-off-by: Len Brown --- diff --git a/arch/ia64/kernel/acpi-ext.c b/arch/ia64/kernel/acpi-ext.c index 13a5b3b49bf8..a146016d7ad7 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;