Skip to contentSkip to conversation

git-acpi build fix

PATCH In review [email protected] 1 participant 1 message Oct 28, 2005 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 3/9 git-acpi build fix

From: MAEDA Naoaki <[email protected]>

This patch fix the following compile error on ia64.

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'

---

 arch/ia64/kernel/acpi-ext.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
arch/ia64/kernel/acpi-ext.c renamed from arch/ia64/kernel/acpi-ext.c~git-acpi-build-fix-3 +1 -1
diff -puN arch/ia64/kernel/acpi-ext.c~git-acpi-build-fix-3 arch/ia64/kernel/acpi-ext.c
@@ -35,7 +35,7 @@ acpi_vendor_resource_match(struct acpi_r
 	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;

_

-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information