aboutsummaryrefslogtreecommitdiff
path: root/drivers/acpi/ec.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2005-09-22 00:25:18 -0400
committerLen Brown <len.brown@intel.com>2005-09-22 00:28:05 -0400
commiteca008c8134df15262a0362623edb59902628c95 (patch)
treea3c08ab2d42b5e56c7f5cbe01e598d9895ca4fca /drivers/acpi/ec.c
parentbda663d36b94c723153246a4231bbc0f1cd1836e (diff)
[ACPI] handle ACPICA 20050916's acpi_resource.type rename
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/ec.c')
-rw-r--r--drivers/acpi/ec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index 7e1a445955b..c33bfba5df8 100644
--- a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c
@@ -1151,7 +1151,7 @@ acpi_ec_io_ports(struct acpi_resource *resource, void *context)
union acpi_ec *ec = (union acpi_ec *)context;
struct acpi_generic_address *addr;
- if (resource->id != ACPI_RSTYPE_IO) {
+ if (resource->type != ACPI_RSTYPE_IO) {
return AE_OK;
}