summaryrefslogtreecommitdiffstats
path: root/drivers/serial/8250_acpi.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2005-12-01 03:03:21 +0100
committerLen Brown <len.brown@intel.com>2005-12-01 03:03:56 +0100
commit378b2556f4e09fa6f87ff0cb5c4395ff28257d02 (patch)
tree3671b6b341bf8932813abfa3b8c01c3b08da89ea /drivers/serial/8250_acpi.c
parent[ACPI] ia64 build fix (diff)
downloadlinux-378b2556f4e09fa6f87ff0cb5c4395ff28257d02.tar.xz
linux-378b2556f4e09fa6f87ff0cb5c4395ff28257d02.zip
[ACPI] 8250_acpi.c buildfix
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/serial/8250_acpi.c')
-rw-r--r--drivers/serial/8250_acpi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/serial/8250_acpi.c b/drivers/serial/8250_acpi.c
index a802bdce6e5d..36681ba7b033 100644
--- a/drivers/serial/8250_acpi.c
+++ b/drivers/serial/8250_acpi.c
@@ -83,11 +83,11 @@ static acpi_status acpi_serial_resource(struct acpi_resource *res, void *data)
status = acpi_resource_to_address64(res, &addr);
if (ACPI_SUCCESS(status))
return acpi_serial_mmio(port, &addr);
- else if (res->id == ACPI_RSTYPE_IO)
+ else if (res->type == ACPI_RSTYPE_IO)
return acpi_serial_port(port, &res->data.io);
- else if (res->id == ACPI_RSTYPE_EXT_IRQ)
+ else if (res->type == ACPI_RSTYPE_EXT_IRQ)
return acpi_serial_ext_irq(port, &res->data.extended_irq);
- else if (res->id == ACPI_RSTYPE_IRQ)
+ else if (res->type == ACPI_RSTYPE_IRQ)
return acpi_serial_irq(port, &res->data.irq);
return AE_OK;
}