From: <ak...@os...> - 2005-10-28 21:59:37
|
From: Andrew Morton <ak...@os...> drivers/pci/hotplug/pciehprm_acpi.c: In function `acpi_parse_crs': drivers/pci/hotplug/pciehprm_acpi.c:668: error: structure has no member named `id' drivers/pci/hotplug/pciehprm_acpi.c:716: error: structure has no member named `id' Cc: "Brown, Len" <len...@in...> Signed-off-by: Andrew Morton <ak...@os...> --- drivers/pci/hotplug/pciehprm_acpi.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff -puN drivers/pci/hotplug/pciehprm_acpi.c~git-acpi-pciehprm_acpi-fix drivers/pci/hotplug/pciehprm_acpi.c --- 25/drivers/pci/hotplug/pciehprm_acpi.c~git-acpi-pciehprm_acpi-fix Fri Oct 28 14:58:23 2005 +++ 25-akpm/drivers/pci/hotplug/pciehprm_acpi.c Fri Oct 28 14:58:23 2005 @@ -665,7 +665,7 @@ static acpi_status acpi_parse_crs( while (!done) { dbg("acpi_pciehprm: PCI bus 0x%x Resource structure %x.\n", ab->bus, count++); - switch (resource->id) { + switch (resource->type) { case ACPI_RSTYPE_IRQ: dbg("Irq -------- Resource\n"); break; @@ -713,7 +713,8 @@ static acpi_status acpi_parse_crs( dbg("Ext Irq -------- Resource\n"); break; default: - dbg("Invalid -------- resource type 0x%x\n", resource->id); + dbg("Invalid -------- resource type 0x%x\n", + resource->type); break; } _ |