diff options
Diffstat (limited to 'drivers/acpi/ec.c')
-rw-r--r-- | drivers/acpi/ec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index 7e1a445955bc..c33bfba5df8f 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) | |||
1151 | union acpi_ec *ec = (union acpi_ec *)context; | 1151 | union acpi_ec *ec = (union acpi_ec *)context; |
1152 | struct acpi_generic_address *addr; | 1152 | struct acpi_generic_address *addr; |
1153 | 1153 | ||
1154 | if (resource->id != ACPI_RSTYPE_IO) { | 1154 | if (resource->type != ACPI_RSTYPE_IO) { |
1155 | return AE_OK; | 1155 | return AE_OK; |
1156 | } | 1156 | } |
1157 | 1157 | ||