Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19492
b: refs/heads/master
c: 378b255
h: refs/heads/master
v: v3
  • Loading branch information
Len Brown committed Dec 1, 2005
1 parent cc0e3ec commit c317cf4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c780f964902a8c4e7f702ff3e0a2b754e82b3ca3
refs/heads/master: 378b2556f4e09fa6f87ff0cb5c4395ff28257d02
6 changes: 3 additions & 3 deletions trunk/drivers/serial/8250_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c317cf4

Please sign in to comment.