[ACPI] ia64 build fix
authorMAEDA Naoaki <maeda.naoaki@jp.fujitsu.com>
Wed, 30 Nov 2005 23:00:24 +0000 (18:00 -0500)
committerLen Brown <len.brown@intel.com>
Wed, 30 Nov 2005 23:02:33 +0000 (18:02 -0500)
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 <maeda.naoaki@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
arch/ia64/kernel/acpi-ext.c

index 13a5b3b..a146016 100644 (file)
@@ -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;